Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Add number validations #440
I'm submitting a feature request
There are no number validations
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
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 :-)
Here's mine, so far: