You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -318,7 +318,9 @@ import es from 'react-phone-input-2/lang/es.json'
318
318
/>
319
319
```
320
320
321
+
#### Flexible mask
321
322
If `enableAreaCodeStretch` is added, the part of the mask with the area code will not stretch to length of the respective section of phone mask.
323
+
Example: `+61 (2), +61 (02)`
322
324
323
325
### Custom masks
324
326
```jsx
@@ -474,6 +476,7 @@ To clear `country`, pass `null` as `value`.
474
476
## Contributing
475
477
- Code style changes not allowed
476
478
- Do not create issues about incorrect or missing country masks (of already present countries) or absent area codes (they will be closed). Only create issues if the subject is an actual mechanism that is not present in the component. Otherwise create a PR with a link that proves the correctness of your newly suggested mask or list of area codes
0 commit comments