Browse Source

UI: Add descriptive default option to Disable on property select

pull/13778/head
Vladyslav Prykhodko 1 year ago
parent
commit
5b24b4865a
  1. 2
      ui-ngx/src/app/modules/home/components/widget/lib/settings/common/dynamic-form/dynamic-form-property-panel.component.html
  2. 1
      ui-ngx/src/assets/locale/locale.constant-en_US.json

2
ui-ngx/src/app/modules/home/components/widget/lib/settings/common/dynamic-form/dynamic-form-property-panel.component.html

@ -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>

1
ui-ngx/src/assets/locale/locale.constant-en_US.json

@ -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",

Loading…
Cancel
Save