Skip to content

Commit

Permalink
fix: label size on zipcode for stayintouchscreen
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianRid committed Jul 2, 2021
1 parent 7a90c69 commit 1deb8d5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tumeplay-app/src/screens/StayInTouchScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export default function StayInTouchScreen(props) {
setInvalidZipCode(false);

localAdress['zipCode'] = value;

console.log(localAdress)
setLocalAdress(localAdress);
_validateFields(CustomTextInput.fieldStatus.NEUTRAL);
} else {
Expand Down Expand Up @@ -162,6 +162,8 @@ export default function StayInTouchScreen(props) {
? 'En rupture de stock !'
: 'Tes informations de contact';

console.log('local', localAdress)

return (
<ScrollView
style={[
Expand Down Expand Up @@ -233,7 +235,7 @@ export default function StayInTouchScreen(props) {
isValid={localValid.zipCode}
currentValue={localAdress.zipCode}
filterNumbers={true}
maxLength={2}
maxLength={3}
name="zipCode"
/>

Expand Down

0 comments on commit 1deb8d5

Please sign in to comment.