When using dynamic rules as described in PR #202, the validation errors are cleared when the rules change, but the input is not actually re-validated.
Expectation:
When the rules change, the input could be invalid with respect to the new rules, so the input should be re-validated, and it should not only clear the errors as it does now.
See: https://jsfiddle.net/3a618s8d/4/
As a side note, we use this validation setup to emulate a "Required If" rule like Laravel has.
Many thanks for the detailed description, I agree with validating after the rules change, I should be able to implement it with PR #616
Thanks so much!
Sadly it didn't make it in RC.8, now the validator re-validates the field when all the following is true:
I can confirm that it works in master. Nice, thanks!
Most helpful comment
Sadly it didn't make it in
RC.8, now the validator re-validates the field when all the following is true: