From f019b3f3d53cebe31a3cb69abb574166d197c669 Mon Sep 17 00:00:00 2001 From: Kevin Ross Date: Sun, 13 Dec 2015 19:51:57 -0600 Subject: [PATCH] See #783 - validity should have no bearing on marking something as empty or not. Already fixed in v4. --- scripts/material.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/material.js b/scripts/material.js index dc9a09a5..7b8e7466 100644 --- a/scripts/material.js +++ b/scripts/material.js @@ -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 {