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
{{ message }}
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.
the way custom validators are stored results in sharing this option across multiple forms. For example if i have auth and reg forms on the same page and want to apply different validators to them - the fileds with the same names trigger the same validators on both forms. It's not a big deal, since only the accessed element gets the responce, but still the request is still made more than once, which is not exactly fine.
The problem is that you made this variable static js-way.
Here is my fix, line numbers do not match since I've already moded the plugin prior this patch.
the way custom validators are stored results in sharing this option across multiple forms. For example if i have auth and reg forms on the same page and want to apply different validators to them - the fileds with the same names trigger the same validators on both forms. It's not a big deal, since only the accessed element gets the responce, but still the request is still made more than once, which is not exactly fine.
The problem is that you made this variable static js-way.
Here is my fix, line numbers do not match since I've already moded the plugin prior this patch.
The text was updated successfully, but these errors were encountered: