Merge pull request #13982 from LeoMorgan113/feature/attribute-dialog-improvement

Attribute dialog improvement
This commit is contained in:
Igor Kulikov 2025-09-10 12:04:33 +03:00 committed by GitHub
commit 74f5e5dab6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,8 +29,8 @@
</mat-progress-bar> </mat-progress-bar>
<div style="height: 4px;" *ngIf="!(isLoading$ | async)"></div> <div style="height: 4px;" *ngIf="!(isLoading$ | async)"></div>
<div mat-dialog-content> <div mat-dialog-content>
<fieldset [disabled]="isLoading$ | async"> <fieldset [disabled]="isLoading$ | async" class="flex flex-col gap-2">
<mat-form-field class="mat-block"> <mat-form-field appearance="outline" subscriptSizing="dynamic" class="mat-block tb-inline-field">
<mat-label translate>attribute.key</mat-label> <mat-label translate>attribute.key</mat-label>
<input matInput formControlName="key" required> <input matInput formControlName="key" required>
<mat-error *ngIf="attributeFormGroup.get('key').hasError('required')"> <mat-error *ngIf="attributeFormGroup.get('key').hasError('required')">