cedvdb / phone_form_field

Flutter phone number input
https://pub.dev/packages/phone_form_field
MIT License
73 stars 100 forks source link

[Suggestion] disallow input max length #261

Open ravid007 opened 2 months ago

ravid007 commented 2 months ago

It would be great to add a maxLength parameter to the configuration. Even better, we could utilize the PhoneValidator to determine the maximum value and prevent users from entering input longer than necessary.

cedvdb commented 3 weeks ago

phone_numbers_parser (the library used by this one) has that information so this is implementable. Feel free to add this