Skip to content

Commit 5c2d856

Browse files
committed
Fixes label overlapping issue when input is blurred with value
1 parent 9332fe3 commit 5c2d856

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/scripts/directives/form-control.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ angular.module('angularBootstrapMaterial')
2121
})
2222
.on('blur', function () {
2323
formGroup.toggleFocus(false);
24-
formGroup.toggleEmpty($element.val());
24+
formGroup.toggleEmpty(!$element.val());
2525
});
2626

2727
$scope.$watch(function () {

0 commit comments

Comments
 (0)