Browse Source

Merge pull request #9840 from ArtemDzhereleiko/AD/bug-fix/widget-action/name-error

Widget action dialog fixed name field error overlay
pull/9861/head
Igor Kulikov 3 years ago
committed by GitHub
parent
commit
43bd7c5329
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      ui-ngx/src/app/modules/home/components/widget/action/widget-action-dialog.component.html

3
ui-ngx/src/app/modules/home/components/widget/action/widget-action-dialog.component.html

@ -41,9 +41,10 @@
{{ 'widget-config.action-source-required' | translate }} {{ 'widget-config.action-source-required' | translate }}
</mat-error> </mat-error>
</mat-form-field> </mat-form-field>
<mat-form-field class="mat-block"> <mat-form-field class="mat-block" subscriptSizing="dynamic">
<mat-label translate>widget-config.action-name</mat-label> <mat-label translate>widget-config.action-name</mat-label>
<input required matInput formControlName="name"> <input required matInput formControlName="name">
<mat-hint></mat-hint>
<mat-error *ngIf="widgetActionFormGroup.get('name').hasError('required')"> <mat-error *ngIf="widgetActionFormGroup.get('name').hasError('required')">
{{ 'widget-config.action-name-required' | translate }} {{ 'widget-config.action-name-required' | translate }}
</mat-error> </mat-error>

Loading…
Cancel
Save