Browse Source
Merge pull request #13778 from vvlladd28/improvement/dynamic-form/disabled
Improve UX for Disable on property select in dynamic forms settings
pull/13804/head
Igor Kulikov
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
2 additions and
1 deletions
-
ui-ngx/src/app/modules/home/components/widget/lib/settings/common/dynamic-form/dynamic-form-property-panel.component.html
-
ui-ngx/src/assets/locale/locale.constant-en_US.json
|
|
|
@ -116,7 +116,7 @@ |
|
|
|
<div class="fixed-title-width" translate>dynamic-form.property.disable-on-property</div> |
|
|
|
<mat-form-field class="flex" appearance="outline" subscriptSizing="dynamic"> |
|
|
|
<mat-select formControlName="disableOnProperty" placeholder="{{ 'widget-config.set' | translate }}"> |
|
|
|
<mat-option [value]="null"></mat-option> |
|
|
|
<mat-option [value]="null">{{ 'dynamic-form.property.disable-on-property-none' | translate }}</mat-option> |
|
|
|
<mat-option *ngFor="let prop of booleanPropertyIds" [value]="prop"> |
|
|
|
{{ prop }} |
|
|
|
</mat-option> |
|
|
|
|
|
|
|
@ -1848,6 +1848,7 @@ |
|
|
|
"selected-options-limit": "Selected options limit", |
|
|
|
"advanced-ui-settings": "Advanced UI settings", |
|
|
|
"disable-on-property": "Disable on property", |
|
|
|
"disable-on-property-none": "None (field always enabled)", |
|
|
|
"display-condition-function": "Display condition function", |
|
|
|
"sub-label": "Sub label", |
|
|
|
"vertical-divider-after": "Vertical divider after", |
|
|
|
|