Closed iivvoo closed 8 years ago
I'll do some digging to see what changed. Thanks for reporting it.
https://github.com/offirgolan/ember-cp-validations/commit/047590204fa36111005bc2395778a659393c15b3 introduced this but I've versioned a fix under ember-intl-cp-validations@2.1.4
I plan to keep the versions in lock step going forward to prevent confusion if a breaking change is introduced upstream.
When using the following validation:
I get the following error when the value I enter is too large:
This is because the correct property is (for this specific error) {lte} since that is the relevant option in the validator, e.g.:
lessThanOrEqualTo: "{description} must be less than or equal to {lte}"
There's no {count} in this specific validation context. Same goes (probably) for lessThan ({lt}, greaterThan ({gt}), greaterThanOrEqualTo ({gte}), etc.