Skip to content

Commit 697d899

Browse files
Merge pull request victorjonsson#552 from GSANDLY/master
solve the problem when 'input-group' tag is used
2 parents 37e2eb5 + bfd0386 commit 697d899

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)