themisir / form-validator

Simplest form validation for flutter form widgets
https://pub.dev/packages/form_validator
MIT License
77 stars 39 forks source link

Added numeric validator #45

Closed mohamed-yahyaoui closed 1 year ago

mohamed-yahyaoui commented 1 year ago

I love this library. I add numeric validator because I think it is needed. I wish that this library will be adopted by the flutter team

themisir commented 1 year ago

Hey @mohamed-yahyaoui, can you briefly describe what exactly you are looking for in a separate issue please 😊

mohamed-yahyaoui commented 1 year ago

Hey @mohamed-yahyaoui, can you briefly describe what exactly you are looking for in a separate issue please blush

About this pull request or about the proposal?

themisir commented 1 year ago

I add numeric validator because I think it is needed.

Yeah, what exactly you mean with "numeric validator"?

mohamed-yahyaoui commented 1 year ago

Hey @mohamed-yahyaoui, can you briefly describe what exactly you are looking for in a separate issue please blush

About this pull request or about the proposal?

Ah sorry I mean a validator which ensures the value is a valid number

themisir commented 1 year ago

Hey sorry for my late reply, I have decided to not add any new validator. The primary reason for that decision is that I can't provide translations for all the currently supported languages for any new validation I might add. At this point without making any breaking change the best I can do is to support only the existing validators. However you can add custom validators using this method.

I am sorry for that decision but at this point it's outside of my capabilities to add a new validator with translations support.