-
-
Notifications
You must be signed in to change notification settings - Fork 128
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
Add number validations #440
Comments
+1 gets my vote too, this is such a common pattern on select based drop downs. |
Would you mind sharing your custom validations for numbers? Will help us to make sure we're hitting your use cases. |
@jdanyow me or the op? |
Both! 😀 |
LOLZ... :-) Well for me, I usually create my drop downs something like the following:
My "selectOptions" are then populated thus:
Or by loading from Ajax in that format. I then handle my rules in the VM thus:
Or more often, I actually create a
Then bind my controls to
and put the validation on
If that helps :-) Shawty |
Here's mine, so far:
|
thanks! |
Any progress on this issue? |
Add common validation rules for numeric properties. resolves aurelia#440
I'm submitting a feature request
Current behavior:
There are no number validations
Expected/desired behavior:
I'd like to have number validations such as lessThan, greaterThan, between, etc.
I have a lot of numeric properties and having to use the satisfies() method takes up a lot more space than built-in number validations
The text was updated successfully, but these errors were encountered: