@@ -64,6 +64,7 @@ describe('DxForm', () => {
6464 formGroupItemType : 'itemType="group"' ,
6565 formValidationItem : 'dxi-validation-rule' ,
6666 formValidationRequiredItemType : 'type="required"' ,
67+ formCustomValidationItem : 'dxi-validation-rule' ,
6768 formValidationCustomItemType : 'type="custom"' ,
6869 } ,
6970 {
@@ -73,6 +74,7 @@ describe('DxForm', () => {
7374 formGroupItemType : '' ,
7475 formValidationItem : 'dxi-form-required-rule' ,
7576 formValidationRequiredItemType : '' ,
77+ formCustomValidationItem : 'dxi-form-custom-rule' ,
7678 formValidationCustomItemType : '' ,
7779 } ,
7880 ] . forEach ( ( {
@@ -82,6 +84,7 @@ describe('DxForm', () => {
8284 formGroupItemType,
8385 formValidationItem,
8486 formValidationRequiredItemType,
87+ formCustomValidationItem,
8588 formValidationCustomItemType,
8689 } ) => {
8790 it ( `should be able to accept items via nested dxi components (T459714) (with ${ testName } nested items)` , ( ) => {
@@ -178,8 +181,8 @@ describe('DxForm', () => {
178181 <dx-form [formData]="{ text: 1 }">
179182 <${ formGroupItem } ${ formGroupItemType } *ngIf="true">
180183 <${ formSimpleItem } dataField="text">
181- <${ formValidationItem } ${ formValidationCustomItemType } [validationCallback]="validateForm">
182- </${ formValidationItem } >
184+ <${ formCustomValidationItem } ${ formValidationCustomItemType } [validationCallback]="validateForm">
185+ </${ formCustomValidationItem } >
183186 </${ formSimpleItem } >
184187 </${ formGroupItem } >
185188 </dx-form>
0 commit comments