|
|
|
@ -252,7 +252,7 @@ const Address = ({ |
|
|
|
|
}} |
|
|
|
|
> |
|
|
|
|
<ScrollView style={tw("flex-1 px-4")}> |
|
|
|
|
<KeyboardAvoidingView behavior={"padding"} style={[{ height }]}> |
|
|
|
|
<KeyboardAvoidingView behavior={"padding"}> |
|
|
|
|
<TouchableWithoutFeedback> |
|
|
|
|
<View style={tw("flex-1")}> |
|
|
|
|
<Navbar |
|
|
|
@ -313,7 +313,7 @@ const Address = ({ |
|
|
|
|
placeholder="" |
|
|
|
|
textAlign="left" |
|
|
|
|
name="nationalId" |
|
|
|
|
maxlength="10" |
|
|
|
|
maxLength={10} |
|
|
|
|
value={profileFields.nationalId} |
|
|
|
|
onChange={(name, value) => |
|
|
|
|
setProfileFields({ ...profileFields, nationalId: value }) |
|
|
|
@ -334,7 +334,7 @@ const Address = ({ |
|
|
|
|
placeholder="" |
|
|
|
|
textAlign="left" |
|
|
|
|
name="cellphone" |
|
|
|
|
maxlength="11" |
|
|
|
|
maxLength={11} |
|
|
|
|
value={ |
|
|
|
|
profilePage |
|
|
|
|
? profileFields.cellphone |
|
|
|
@ -354,7 +354,7 @@ const Address = ({ |
|
|
|
|
placeholder="" |
|
|
|
|
textAlign="left" |
|
|
|
|
name="phone" |
|
|
|
|
maxlength="11" |
|
|
|
|
maxLength={11} |
|
|
|
|
value={profilePage ? profileFields.phone : addressFields?.phone} |
|
|
|
|
onChange={(name, value) => |
|
|
|
|
profilePage |
|
|
|
@ -411,7 +411,7 @@ const Address = ({ |
|
|
|
|
placeholder="" |
|
|
|
|
textAlign="left" |
|
|
|
|
name="postalCode" |
|
|
|
|
maxlength="10" |
|
|
|
|
maxLength={10} |
|
|
|
|
value={ |
|
|
|
|
profilePage |
|
|
|
|
? profileFields.postalCode |
|
|
|
|