feat: add read only fields to editable card

This commit is contained in:
José Oliveira 2022-01-10 17:28:23 +00:00
parent af6fefa920
commit a64dac0b40
4 changed files with 71 additions and 26 deletions

View file

@ -353,7 +353,8 @@ const CustomerData = ({
customerDataElements.smsData.push({
name: it,
label: onlyFirstToUpper(it),
component: TextInput
component: TextInput,
editable: true
})
Yup.object()
.shape({