File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
components-experimental/form-field Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ export class KbqPasswordToggle {
5151
5252 /** Whether to display the password toggle. */
5353 get visible ( ) : boolean {
54- return ! this . formField ?. disabled && ! ! this . control ?. ngControl ?. value ;
54+ return ! this . formField ?. disabled ;
5555 }
5656
5757 /** Toggles the password visibility. */
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ export class KbqPasswordToggle extends KbqTooltipTrigger implements AfterViewIni
120120 * @docs -private
121121 */
122122 get visibility ( ) : 'hidden' | 'visible' {
123- return this . control . disabled || this . control . empty ? 'hidden' : 'visible' ;
123+ return this . control . disabled ? 'hidden' : 'visible' ;
124124 }
125125
126126 constructor ( ) {
You can’t perform that action at this time.
0 commit comments