Skip to content

Commit 4bbe882

Browse files
wip. update account form changes
1 parent 438c7ac commit 4bbe882

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

packages/devextreme-schematics/src/add-layout/files/src/app/shared/components/create-account-form/create-account-form.component.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,31 +8,31 @@
88
<dxo-label [visible]="false"></dxo-label>
99
</dxi-form-item>
1010

11-
<dxi-form-item dataField="password" editorType="dxTextBox"
11+
<dxi-item dataField="password" editorType="dxTextBox"
1212
[editorOptions]="{ stylingMode: 'filled', placeholder: 'Password', mode: 'password' }">
1313
<dxi-validation-rule type="required" message="Password is required"></dxi-validation-rule>
1414
<dxo-label [visible]="false"></dxo-label>
15-
</dxi-form-item>
15+
</dxi-item>
1616

17-
<dxi-form-item dataField="confirmedPassword" editorType="dxTextBox"
17+
<dxi-item dataField="confirmedPassword" editorType="dxTextBox"
1818
[editorOptions]="{ stylingMode: 'filled', placeholder: 'Confirm Password', mode: 'password' }">
1919
<dxi-validation-rule type="required" message="Password is required"></dxi-validation-rule>
2020
<dxi-validation-rule type="custom" message="Passwords do not match" [validationCallback]="confirmPassword">
2121
</dxi-validation-rule>
2222
<dxo-label [visible]="false"></dxo-label>
23-
</dxi-form-item>
23+
</dxi-item>
2424

25-
<dxi-form-item>
25+
<dxi-item>
2626
<div class='policy-info'>
2727
By creating an account, you agree to the <a routerLink="#">Terms of Service</a> and <a routerLink="#">Privacy
2828
Policy</a>
2929
</div>
30-
</dxi-form-item>
30+
</dxi-item>
3131

32-
<dxi-form-item itemType="button">
32+
<dxi-item itemType="button">
3333
<dxo-button-options width="100%" type="default" [useSubmitBehavior]="true" [template]="'createAccountTemplate'">
3434
</dxo-button-options>
35-
</dxi-form-item>
35+
</dxi-item>
3636

3737
<ng-container *dxTemplate="let item of 'createAccountTemplate'">
3838
<div>

0 commit comments

Comments
 (0)