Browse Source

Remove redundant [disabled] binding on reactive-form fields to fix NG01001 warning

pull/15877/head
Maksym Tsymbarov 3 months ago
parent
commit
42e3c8de6a
  1. 1
      ui-ngx/src/app/modules/home/components/widget/config/basic/button/power-button-basic-config.component.html
  2. 1
      ui-ngx/src/app/modules/home/components/widget/config/basic/button/toggle-button-basic-config.component.html
  3. 2
      ui-ngx/src/app/modules/home/components/widget/config/basic/cards/aggregated-value-card-basic-config.component.html
  4. 1
      ui-ngx/src/app/modules/home/components/widget/config/basic/cards/label-value-card-basic-config.component.html
  5. 1
      ui-ngx/src/app/modules/home/components/widget/config/basic/cards/progress-bar-basic-config.component.html
  6. 1
      ui-ngx/src/app/modules/home/components/widget/config/basic/cards/timeseries-table-basic-config.component.html
  7. 1
      ui-ngx/src/app/modules/home/components/widget/config/basic/cards/value-card-basic-config.component.html
  8. 1
      ui-ngx/src/app/modules/home/components/widget/config/basic/cards/value-chart-card-basic-config.component.html
  9. 1
      ui-ngx/src/app/modules/home/components/widget/config/basic/chart/bar-chart-with-labels-basic-config.component.html
  10. 1
      ui-ngx/src/app/modules/home/components/widget/config/basic/chart/flot-basic-config.component.html
  11. 1
      ui-ngx/src/app/modules/home/components/widget/config/basic/chart/latest-chart-basic-config.component.html
  12. 1
      ui-ngx/src/app/modules/home/components/widget/config/basic/chart/range-chart-basic-config.component.html
  13. 1
      ui-ngx/src/app/modules/home/components/widget/config/basic/chart/time-series-chart-basic-config.component.html
  14. 1
      ui-ngx/src/app/modules/home/components/widget/config/basic/entity/entities-table-basic-config.component.html
  15. 1
      ui-ngx/src/app/modules/home/components/widget/config/basic/indicator/battery-level-basic-config.component.html
  16. 1
      ui-ngx/src/app/modules/home/components/widget/config/basic/indicator/liquid-level-card-basic-config.component.html
  17. 1
      ui-ngx/src/app/modules/home/components/widget/config/basic/indicator/signal-strength-basic-config.component.html
  18. 1
      ui-ngx/src/app/modules/home/components/widget/config/basic/map/map-basic-config.component.html
  19. 1
      ui-ngx/src/app/modules/home/components/widget/config/basic/rpc/slider-basic-config.component.html
  20. 1
      ui-ngx/src/app/modules/home/components/widget/config/basic/scada/scada-symbol-basic-config.component.html
  21. 1
      ui-ngx/src/app/modules/home/components/widget/config/basic/weather/wind-speed-direction-basic-config.component.html
  22. 1
      ui-ngx/src/app/modules/home/components/widget/lib/settings/cards/aggregated-value-card-widget-settings.component.html
  23. 1
      ui-ngx/src/app/modules/home/components/widget/lib/settings/cards/label-value-card-widget-settings.component.html
  24. 1
      ui-ngx/src/app/modules/home/components/widget/lib/settings/common/button/widget-button-appearance.component.html
  25. 1
      ui-ngx/src/app/modules/home/components/widget/lib/settings/common/count-widget-settings.component.html
  26. 1
      ui-ngx/src/app/modules/home/components/widget/lib/settings/common/indicator/status-widget-state-settings.component.html
  27. 1
      ui-ngx/src/app/modules/home/components/widget/lib/settings/control/single-switch-widget-settings.component.html
  28. 1
      ui-ngx/src/app/modules/home/components/widget/widget-config.component.html

1
ui-ngx/src/app/modules/home/components/widget/config/basic/button/power-button-basic-config.component.html

@ -88,7 +88,6 @@
subscriptSizing="dynamic"
predefinedValuesButton="true"
[predefinedValues]="predefinedValues"
[disabled]="!powerButtonWidgetConfigForm.get('showTitle').value"
placeholderText="{{ 'widget-config.set' | translate }}"
formControlName="title"
></tb-string-pattern-autocomplete>

1
ui-ngx/src/app/modules/home/components/widget/config/basic/button/toggle-button-basic-config.component.html

@ -98,7 +98,6 @@
subscriptSizing="dynamic"
predefinedValuesButton="true"
[predefinedValues]="predefinedValues"
[disabled]="!toggleButtonWidgetConfigForm.get('showTitle').value"
placeholderText="{{ 'widget-config.set' | translate }}"
formControlName="title"
></tb-string-pattern-autocomplete>

2
ui-ngx/src/app/modules/home/components/widget/config/basic/cards/aggregated-value-card-basic-config.component.html

@ -45,7 +45,6 @@
subscriptSizing="dynamic"
predefinedValuesButton="true"
[predefinedValues]="predefinedValues"
[disabled]="!aggregatedValueCardWidgetConfigForm.get('showTitle').value"
placeholderText="{{ 'widget-config.set' | translate }}"
formControlName="title"
></tb-string-pattern-autocomplete>
@ -91,7 +90,6 @@
subscriptSizing="dynamic"
[predefinedValuesButton]="true"
[predefinedValues]="predefinedValues"
[disabled]="!aggregatedValueCardWidgetConfigForm.get('showSubtitle').value"
placeholderText="{{ 'widget-config.set' | translate }}"
formControlName="subtitle"
></tb-string-pattern-autocomplete>

1
ui-ngx/src/app/modules/home/components/widget/config/basic/cards/label-value-card-basic-config.component.html

@ -46,7 +46,6 @@
brackets="curly"
subscriptSizing="dynamic"
predefinedValuesButton="true"
[disabled]="!labelValueCardWidgetConfigForm.get('showLabel').value"
[predefinedValues]="predefinedValues"
placeholderText="{{ 'widget-config.set' | translate }}"
formControlName="label"

1
ui-ngx/src/app/modules/home/components/widget/config/basic/cards/progress-bar-basic-config.component.html

@ -58,7 +58,6 @@
subscriptSizing="dynamic"
predefinedValuesButton="true"
[predefinedValues]="predefinedValues"
[disabled]="!progressBarWidgetConfigForm.get('showTitle').value"
placeholderText="{{ 'widget-config.set' | translate }}"
formControlName="title"
></tb-string-pattern-autocomplete>

1
ui-ngx/src/app/modules/home/components/widget/config/basic/cards/timeseries-table-basic-config.component.html

@ -49,7 +49,6 @@
brackets="curly"
subscriptSizing="dynamic"
predefinedValuesButton="true"
[disabled]="!timeseriesTableWidgetConfigForm.get('showTitle').value"
[predefinedValues]="predefinedValues"
placeholderText="{{ 'widget-config.set' | translate }}"
formControlName="title"

1
ui-ngx/src/app/modules/home/components/widget/config/basic/cards/value-card-basic-config.component.html

@ -58,7 +58,6 @@
brackets="curly"
subscriptSizing="dynamic"
predefinedValuesButton="true"
[disabled]="!valueCardWidgetConfigForm.get('showLabel').value"
[predefinedValues]="predefinedValues"
placeholderText="{{ 'widget-config.set' | translate }}"
formControlName="label"

1
ui-ngx/src/app/modules/home/components/widget/config/basic/cards/value-chart-card-basic-config.component.html

@ -56,7 +56,6 @@
brackets="curly"
subscriptSizing="dynamic"
predefinedValuesButton="true"
[disabled]="!valueChartCardWidgetConfigForm.get('showTitle').value"
[predefinedValues]="predefinedValues"
placeholderText="{{ 'widget-config.set' | translate }}"
formControlName="title"

1
ui-ngx/src/app/modules/home/components/widget/config/basic/chart/bar-chart-with-labels-basic-config.component.html

@ -54,7 +54,6 @@
brackets="curly"
subscriptSizing="dynamic"
predefinedValuesButton="true"
[disabled]="!barChartWidgetConfigForm.get('showTitle').value"
[predefinedValues]="predefinedValues"
placeholderText="{{ 'widget-config.set' | translate }}"
formControlName="title"

1
ui-ngx/src/app/modules/home/components/widget/config/basic/chart/flot-basic-config.component.html

@ -49,7 +49,6 @@
brackets="curly"
subscriptSizing="dynamic"
predefinedValuesButton="true"
[disabled]="!flotWidgetConfigForm.get('showTitle').value"
[predefinedValues]="predefinedValues"
placeholderText="{{ 'widget-config.set' | translate }}"
formControlName="title"

1
ui-ngx/src/app/modules/home/components/widget/config/basic/chart/latest-chart-basic-config.component.html

@ -55,7 +55,6 @@
brackets="curly"
subscriptSizing="dynamic"
predefinedValuesButton="true"
[disabled]="!latestChartWidgetConfigForm.get('showTitle').value"
[predefinedValues]="predefinedValues"
placeholderText="{{ 'widget-config.set' | translate }}"
formControlName="title"

1
ui-ngx/src/app/modules/home/components/widget/config/basic/chart/range-chart-basic-config.component.html

@ -38,7 +38,6 @@
brackets="curly"
subscriptSizing="dynamic"
predefinedValuesButton="true"
[disabled]="!rangeChartWidgetConfigForm.get('showTitle').value"
[predefinedValues]="predefinedValues"
placeholderText="{{ 'widget-config.set' | translate }}"
formControlName="title"

1
ui-ngx/src/app/modules/home/components/widget/config/basic/chart/time-series-chart-basic-config.component.html

@ -131,7 +131,6 @@
brackets="curly"
subscriptSizing="dynamic"
predefinedValuesButton="true"
[disabled]="!timeSeriesChartWidgetConfigForm.get('showTitle').value"
[predefinedValues]="predefinedValues"
placeholderText="{{ 'widget-config.set' | translate }}"
formControlName="title"

1
ui-ngx/src/app/modules/home/components/widget/config/basic/entity/entities-table-basic-config.component.html

@ -49,7 +49,6 @@
brackets="curly"
subscriptSizing="dynamic"
predefinedValuesButton="true"
[disabled]="!entitiesTableWidgetConfigForm.get('showTitle').value"
[predefinedValues]="predefinedValues"
placeholderText="{{ 'widget-config.set' | translate }}"
formControlName="title"

1
ui-ngx/src/app/modules/home/components/widget/config/basic/indicator/battery-level-basic-config.component.html

@ -58,7 +58,6 @@
brackets="curly"
subscriptSizing="dynamic"
predefinedValuesButton="true"
[disabled]="!batteryLevelWidgetConfigForm.get('showTitle').value"
[predefinedValues]="predefinedValues"
placeholderText="{{ 'widget-config.set' | translate }}"
formControlName="title"

1
ui-ngx/src/app/modules/home/components/widget/config/basic/indicator/liquid-level-card-basic-config.component.html

@ -40,7 +40,6 @@
brackets="curly"
subscriptSizing="dynamic"
predefinedValuesButton="true"
[disabled]="!levelCardWidgetConfigForm.get('showTitle').value"
[predefinedValues]="predefinedValues"
placeholderText="{{ 'widget-config.set' | translate }}"
formControlName="title"

1
ui-ngx/src/app/modules/home/components/widget/config/basic/indicator/signal-strength-basic-config.component.html

@ -52,7 +52,6 @@
brackets="curly"
subscriptSizing="dynamic"
predefinedValuesButton="true"
[disabled]="!signalStrengthWidgetConfigForm.get('showTitle').value"
[predefinedValues]="predefinedValues"
placeholderText="{{ 'widget-config.set' | translate }}"
formControlName="title"

1
ui-ngx/src/app/modules/home/components/widget/config/basic/map/map-basic-config.component.html

@ -40,7 +40,6 @@
brackets="curly"
subscriptSizing="dynamic"
predefinedValuesButton="true"
[disabled]="!mapWidgetConfigForm.get('showTitle').value"
[predefinedValues]="predefinedValues"
placeholderText="{{ 'widget-config.set' | translate }}"
formControlName="title"

1
ui-ngx/src/app/modules/home/components/widget/config/basic/rpc/slider-basic-config.component.html

@ -81,7 +81,6 @@
brackets="curly"
subscriptSizing="dynamic"
predefinedValuesButton="true"
[disabled]="!sliderWidgetConfigForm.get('showTitle').value"
[predefinedValues]="predefinedValues"
placeholderText="{{ 'widget-config.set' | translate }}"
formControlName="title"

1
ui-ngx/src/app/modules/home/components/widget/config/basic/scada/scada-symbol-basic-config.component.html

@ -40,7 +40,6 @@
brackets="curly"
subscriptSizing="dynamic"
predefinedValuesButton="true"
[disabled]="!scadaSymbolWidgetConfigForm.get('showTitle').value"
[predefinedValues]="predefinedValues"
placeholderText="{{ 'widget-config.set' | translate }}"
formControlName="title"

1
ui-ngx/src/app/modules/home/components/widget/config/basic/weather/wind-speed-direction-basic-config.component.html

@ -100,7 +100,6 @@
brackets="curly"
subscriptSizing="dynamic"
predefinedValuesButton="true"
[disabled]="!windSpeedDirectionWidgetConfigForm.get('showTitle').value"
[predefinedValues]="predefinedValues"
placeholderText="{{ 'widget-config.set' | translate }}"
formControlName="title"

1
ui-ngx/src/app/modules/home/components/widget/lib/settings/cards/aggregated-value-card-widget-settings.component.html

@ -33,7 +33,6 @@
brackets="curly"
subscriptSizing="dynamic"
[predefinedValuesButton]="true"
[disabled]="!aggregatedValueCardWidgetSettingsForm.get('showSubtitle').value"
[predefinedValues]="predefinedValues"
placeholderText="{{ 'widget-config.set' | translate }}"
formControlName="subtitle"

1
ui-ngx/src/app/modules/home/components/widget/lib/settings/cards/label-value-card-widget-settings.component.html

@ -33,7 +33,6 @@
brackets="curly"
subscriptSizing="dynamic"
[predefinedValuesButton]="true"
[disabled]="!labelValueCardWidgetSettingsForm.get('showLabel').value"
[predefinedValues]="predefinedValues"
placeholderText="{{ 'widget-config.set' | translate }}"
formControlName="label"

1
ui-ngx/src/app/modules/home/components/widget/lib/settings/common/button/widget-button-appearance.component.html

@ -42,7 +42,6 @@
brackets="curly"
subscriptSizing="dynamic"
predefinedValuesButton="true"
[disabled]="!appearanceFormGroup.get('showLabel').value"
[predefinedValues]="predefinedValues"
placeholderText="{{ 'widget-config.set' | translate }}"
formControlName="label"

1
ui-ngx/src/app/modules/home/components/widget/lib/settings/common/count-widget-settings.component.html

@ -48,7 +48,6 @@
brackets="curly"
subscriptSizing="dynamic"
predefinedValuesButton="true"
[disabled]="!countWidgetConfigForm.get('showLabel').value"
[predefinedValues]="predefinedValues"
placeholderText="{{ 'widget-config.set' | translate }}"
formControlName="label"

1
ui-ngx/src/app/modules/home/components/widget/lib/settings/common/indicator/status-widget-state-settings.component.html

@ -26,7 +26,6 @@
brackets="curly"
subscriptSizing="dynamic"
predefinedValuesButton="true"
[disabled]="!stateSettingsFormGroup.get('showLabel').value"
[predefinedValues]="predefinedValues"
placeholderText="{{ 'widget-config.set' | translate }}"
formControlName="label"

1
ui-ngx/src/app/modules/home/components/widget/lib/settings/control/single-switch-widget-settings.component.html

@ -91,7 +91,6 @@
brackets="curly"
subscriptSizing="dynamic"
predefinedValuesButton="true"
[disabled]="!singleSwitchWidgetSettingsForm.get('showLabel').value"
[predefinedValues]="predefinedValues"
placeholderText="{{ 'widget-config.set' | translate }}"
formControlName="label"

1
ui-ngx/src/app/modules/home/components/widget/widget-config.component.html

@ -51,7 +51,6 @@
brackets="curly"
subscriptSizing="dynamic"
[predefinedValuesButton]="true"
[disabled]="!widgetSettings.get('showTitle').value"
[predefinedValues]="predefinedValues"
placeholderText="{{ 'widget-config.set' | translate }}"
formControlName="title"

Loading…
Cancel
Save