Skip to content

Commit 6beddcf

Browse files
committed
fix(demo): adjusted the second visibility toggle
1 parent 5d7a7f9 commit 6beddcf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

demo/src/app/home/home.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,9 @@ <h1>
141141
<!--password input filed-->
142142
<mat-form-field appearance="outline" [color]="passwordComponentWithValidation.color" style="width: 100%">
143143
<mat-label>Password</mat-label>
144-
<mat-pass-toggle-visibility #toggle matSuffix></mat-pass-toggle-visibility>
144+
<mat-pass-toggle-visibility #toggle2 matSuffix></mat-pass-toggle-visibility>
145145
<input matInput #passwordWithValidation
146-
[type]="toggle.type"
146+
[type]="toggle2.type"
147147
required
148148
[formControl]="passwordComponentWithValidation.passwordFormControl"
149149
placeholder="Password">

0 commit comments

Comments
 (0)