Skip to content

Commit e2dd41a

Browse files
committed
fix(demo): adjusted the docs of the lib examples in md #163 #143
1 parent 8daf84e commit e2dd41a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ <h1>@angular-material-extensions/password-strength</h1>
131131
<mat-card-content>
132132

133133
<!--password input filed-->
134-
<mat-form-field appearance="outline" style="width: 100%">
134+
<mat-form-field appearance="outline" [color]="passwordComponentWithValidation.color" style="width: 100%">
135135
<mat-label>Password</mat-label>
136136
<mat-pass-toggle-visibility #toggle matSuffix></mat-pass-toggle-visibility>
137137
<input matInput #passwordWithValidation
@@ -215,7 +215,7 @@ <h1>@angular-material-extensions/password-strength</h1>
215215
<mat-card-content>
216216

217217
<!--password input filed-->
218-
<mat-form-field appearance="outline" style="width: 100%">
218+
<mat-form-field appearance="outline" [color]="passwordComponentWithConfirmation.color" style="width: 100%">
219219
<mat-label>Password</mat-label>
220220
<mat-pass-toggle-visibility #toggle3 matSuffix></mat-pass-toggle-visibility>
221221
<input matInput #passwordWithConfirmation

demo/src/assets/md/home/e2/html.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
```html
22
<!--password input filed-->
3-
<mat-form-field appearance="outline" style="width: 100%">
3+
<mat-form-field appearance="outline" [color]="passwordComponentWithValidation.color" style="width: 100%">
44
<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>
66
<input matInput #passwordWithValidation
7-
[type]="toggle2.type"
7+
[type]="toggle.type"
88
required
99
[formControl]="passwordComponentWithValidation.passwordFormControl"
1010
placeholder="Password">

demo/src/assets/md/home/e3/html.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
```html
22
<!--password input filed-->
3-
<mat-form-field appearance="outline" style="width: 100%">
3+
<mat-form-field appearance="outline" [color]="passwordComponentWithConfirmation.color" style="width: 100%">
44
<mat-label>Password</mat-label>
55
<mat-pass-toggle-visibility #toggle3 matSuffix></mat-pass-toggle-visibility>
66
<input matInput #passwordWithConfirmation

0 commit comments

Comments
 (0)