Closed imorrison closed 10 years ago
Thanks for this, sorry for the delay. Can you add a test for this?
Can you add a test for this?
For sure. I will try to see if I have some time to do that this week.
First of all thanks for this fix @imorrison!
I just ran into this same issue, but found an edge case with this PR that I think I covered over in #21.
Basically, even when calling handleInputChanged
in beforeSubmit
it still hides the validityClass in cases where the input was "unchanged".
This will recompute the derived property validityClass even if the the input element is never changed but submitted.
Fixes #12