File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1313 data-testid ="input-max-number " />
1414
1515 @if(formGroup.controls.maxNumber.errors?.['required']) {
16- < mat-error data-testid ="error-required- max-number ">
16+ < mat-error data-testid ="max-number-error-required ">
1717 Please enter a valid number
1818 </ mat-error >
1919 }
3232 [maxLength] ="30 "
3333 [attr.data-testid] ="'input-word-' + idx "/>
3434 @if (group.controls.wordToPrint.errors){
35- < mat-error >
35+ < mat-error [attr.data-testid] =" 'word-error-' + idx " >
3636 Please enter a valid word
3737 </ mat-error >
3838 }
4848 required
4949 [attr.data-testid] ="'input-multiple-' + idx " />
5050 @if (group.controls.multiple.errors?.['required'] || group.controls.multiple.errors?.['min']) {
51- < mat-error [attr.data-testid] ="'error-required-multiple ' + idx ">
51+ < mat-error [attr.data-testid] ="'multiple- error-required-' + idx ">
5252 Please valid a number
5353 </ mat-error >
5454 }
5555 @else if (group.controls.multiple.errors?.['duplicates']) {
56- < mat-error [attr.data-testid] ="'error-required- duplicate' + idx "> Duplicate number</ mat-error >
56+ < mat-error [attr.data-testid] ="'multiple- error-duplicate- ' + idx "> Duplicate number</ mat-error >
5757 }
5858 </ mat-form-field >
5959 < br />
You can’t perform that action at this time.
0 commit comments