FIX: check visible fields only

This commit is contained in:
Tony Air 2020-10-28 16:06:01 +07:00
parent a69707d2be
commit 062eb4c713
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ const FormValidate = (($) => {
const ui = this;
let valid = true;
ui._fields.each((i, el) => {
ui._fields.filter(':visible').each((i, el) => {
const $el = $(el);
const fieldUI = $el.data('jsFormValidateField');