File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ <h1>@angular-material-extensions/password-strength</h1>
131
131
< mat-card-content >
132
132
133
133
<!--password input filed-->
134
- < mat-form-field appearance ="outline " style ="width: 100% ">
134
+ < mat-form-field appearance ="outline " [color] =" passwordComponentWithValidation.color " style ="width: 100% ">
135
135
< mat-label > Password</ mat-label >
136
136
< mat-pass-toggle-visibility #toggle matSuffix > </ mat-pass-toggle-visibility >
137
137
< input matInput #passwordWithValidation
@@ -215,7 +215,7 @@ <h1>@angular-material-extensions/password-strength</h1>
215
215
< mat-card-content >
216
216
217
217
<!--password input filed-->
218
- < mat-form-field appearance ="outline " style ="width: 100% ">
218
+ < mat-form-field appearance ="outline " [color] =" passwordComponentWithConfirmation.color " style ="width: 100% ">
219
219
< mat-label > Password</ mat-label >
220
220
< mat-pass-toggle-visibility #toggle3 matSuffix > </ mat-pass-toggle-visibility >
221
221
< input matInput #passwordWithConfirmation
Original file line number Diff line number Diff line change 1
1
``` html
2
2
<!-- password input filed-->
3
- <mat-form-field appearance =" outline" style =" width : 100% " >
3
+ <mat-form-field appearance =" outline" [color] = " passwordComponentWithValidation.color " style =" width : 100% " >
4
4
<mat-label >Password</mat-label >
5
- <mat-pass-toggle-visibility #toggle2 matSuffix ></mat-pass-toggle-visibility >
5
+ <mat-pass-toggle-visibility #toggle matSuffix ></mat-pass-toggle-visibility >
6
6
<input matInput #passwordWithValidation
7
- [type] =" toggle2 .type"
7
+ [type] =" toggle .type"
8
8
required
9
9
[formControl] =" passwordComponentWithValidation.passwordFormControl"
10
10
placeholder =" Password" >
Original file line number Diff line number Diff line change 1
1
``` html
2
2
<!-- password input filed-->
3
- <mat-form-field appearance =" outline" style =" width : 100% " >
3
+ <mat-form-field appearance =" outline" [color] = " passwordComponentWithConfirmation.color " style =" width : 100% " >
4
4
<mat-label >Password</mat-label >
5
5
<mat-pass-toggle-visibility #toggle3 matSuffix ></mat-pass-toggle-visibility >
6
6
<input matInput #passwordWithConfirmation
You can’t perform that action at this time.
0 commit comments