Skip to content

Commit bfd0386

Browse files
authored
solve the problem when 'input-group' tag is used
When 'input-group' tag is used in 'form-group' with data-validation, it‘s out of shape.
1 parent fd89f88 commit bfd0386

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

form-validator/jquery.form-validator.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,9 @@
290290
return $formGroup.eq(0);
291291
}
292292
}
293+
if ($parent.hasClass("input-group")) {
294+
return $parent.parent();
295+
}
293296
return $parent;
294297
}
295298
},

0 commit comments

Comments
 (0)