Skip to content

Commit 438c7ac

Browse files
Revert "wip. revert account form changes"
This reverts commit eac37c6.
1 parent eac37c6 commit 438c7ac

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
11
<form class="create-account-form" (submit)="onSubmit($event)">
22
<dx-form [formData]="formData" [disabled]="loading">
33

4-
<dxi-item dataField="email" editorType="dxTextBox"
4+
<dxi-form-item dataField="email" editorType="dxTextBox"
55
[editorOptions]="{ stylingMode: 'filled', placeholder: 'Email', mode: 'email' }">
66
<dxi-validation-rule type="required" message="Email is required"></dxi-validation-rule>
77
<dxi-validation-rule type="email" message="Email is invalid"></dxi-validation-rule>
88
<dxo-label [visible]="false"></dxo-label>
9-
</dxi-item>
9+
</dxi-form-item>
1010

11-
<dxi-item dataField="password" editorType="dxTextBox"
11+
<dxi-form-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-item>
15+
</dxi-form-item>
1616

17-
<dxi-item dataField="confirmedPassword" editorType="dxTextBox"
17+
<dxi-form-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-item>
23+
</dxi-form-item>
2424

25-
<dxi-item>
25+
<dxi-form-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-item>
30+
</dxi-form-item>
3131

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

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

0 commit comments

Comments
 (0)