mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-11 20:28:14 +03:00
See #783 - validity should have no bearing on marking something as empty or not. Already fixed in v4.
This commit is contained in:
parent
8bec58172c
commit
f019b3f3d5
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user