Using version 1.11.1 of the library I'm noticing that if I use something like
<input data-rule-max="8" />
it will correctly fail the validation when I enter a value of 10.
However, if I have something like
<input data-rule-max="8.00" />
and I enter 10 it doesn't invalidate the field. If I enter 9 it marks it as invalid, though.
When I debug, I can see that the max rule is receiving string values to work with: "10" is less than "8.00".
I need to be able to validate against things like 8 and 8.75. Is there a trick to get the max rule to play nice with non-integers, or another rule I should be using?
(As an aside, I will probably be updating to the latest version of the library at some point, so this question is just for what to do until I can make that change.)