vanshg395 / intl_phone_field

A customised Flutter TextFormField to input international phone number along with country code.
https://pub.dev/packages/intl_phone_field
MIT License
177 stars 507 forks source link

Fix number of digits for Switzerland #231

Closed grafst closed 1 year ago

grafst commented 2 years ago

Without the leading zero, switzerland has 9 digits and not 12.

marcaureln commented 2 years ago

Wikipedia stated <<A complete telephone number consists of ten digits: 0xx xxx xx xx.>>. My question now is, are people used to fill phone forms with the leading zero. If that's the case, the max and min length should be set to 10.

grafst commented 1 year ago

or setting the minlength to 9 and the max to 12?

grafst commented 1 year ago

can we merge this?

dev-ale commented 1 year ago

yes please merge

marcaureln commented 1 year ago

Sorry for this very late answer. Nervermind, thanks for contributing.