mirror of
https://github.com/a2nt/webpack-bootstrap-ui-kit.git
synced 2024-10-22 11:05:45 +02:00
FIX: check visible fields only
This commit is contained in:
parent
a69707d2be
commit
062eb4c713
@ -78,7 +78,7 @@ const FormValidate = (($) => {
|
|||||||
const ui = this;
|
const ui = this;
|
||||||
let valid = true;
|
let valid = true;
|
||||||
|
|
||||||
ui._fields.each((i, el) => {
|
ui._fields.filter(':visible').each((i, el) => {
|
||||||
const $el = $(el);
|
const $el = $(el);
|
||||||
const fieldUI = $el.data('jsFormValidateField');
|
const fieldUI = $el.data('jsFormValidateField');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user