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