You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys. We've been using validator in scope of our project and discovered one interesting think.
If input type is button then it can be validated by validation rules, but handler on focusin event will not be fired. It happens because of https://github.com/jzaefferer/jquery-validation/blob/master/src/core.js#L398-L402
handler for type=button is not set.
Subject of the issue
Hi guys. We've been using validator in scope of our project and discovered one interesting think.
If input type is button then it can be validated by validation rules, but handler on
focusin
event will not be fired. It happens because ofhttps://github.com/jzaefferer/jquery-validation/blob/master/src/core.js#L398-L402
handler for
type=button
is not set.Environment
jquery-validate
- 1.15.1Chrome Canary
- browserSteps to reproduce
Here some fiddle - https://jsfiddle.net/yvmd3nta/
I have several ideas how to solve this.
type=button
type=button
I would prefer either 1 or 2 and like to make PR if you don't mind.
The text was updated successfully, but these errors were encountered: