mirror of
				https://github.com/mdbootstrap/mdb-ui-kit.git
				synced 2025-10-31 07:57:45 +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
							
								
									ba1ab80698
								
							
						
					
					
						commit
						e00ed9491b
					
				|  | @ -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