Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding customization to any validator of a TextField #86

Closed
omargobran opened this issue Jul 25, 2022 · 1 comment
Closed

Adding customization to any validator of a TextField #86

omargobran opened this issue Jul 25, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@omargobran
Copy link

At first, I wanted to find a way to somehow trigger showing the error message of Card Number TextField but couldn't so then I wanted to add an extra control or validation to the card number input but didn't find a possible way, unfortunately. Because the validator is directly written inside the TextField and not available for customization.

I would like to find a way where I can

  1. Add a custom validator to each TextField.
  2. Add a bool value to the validator.
  3. Make my own check/control in my app and somehow be able to trigger showing the error message for any TextField.
@DhavalRKansara DhavalRKansara added the enhancement New feature or request label Aug 10, 2022
@DhavalRKansara
Copy link
Collaborator

Hi @omargobran Thanks for the suggestion, We'll consider this enhancement in the next feature bucket. Also, we are open for contribution as well.

kavantrivedi added a commit to kavantrivedi/flutter_credit_card that referenced this issue Sep 6, 2022
ShwetaChauhan18 added a commit that referenced this issue Sep 13, 2022
…lidator

fixes #86 Enhancement regarding support of custom validator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants