See #783 - validity should have no bearing on marking something as empty or not. Already fixed in v4.

This commit is contained in:
Kevin Ross 2015-12-13 19:51:57 -06:00
parent ba1ab80698
commit e00ed9491b

View File

@ -181,7 +181,7 @@
var $formGroup = $input.closest(".form-group");
var isValid = (typeof $input[0].checkValidity === "undefined" || $input[0].checkValidity());
if ($input.val() === "" && isValid) {
if ($input.val() === "") {
$formGroup.addClass("is-empty");
}
else {