Browse Source

Merge pull request #15878 from mtsymbarov-del/fix/ng01001-disabled-reactive-form-master

Remove redundant [disabled] binding on reactive-form fields to fix NG01001 warning
pull/15894/head
Vladyslav Prykhodko 3 weeks ago
committed by GitHub
parent
commit
bd2c0742fa
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  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
  29. 1
      ui-ngx/src/app/shared/components/entity/entity-keys-list.component.html

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

@ -90,7 +90,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

@ -48,7 +48,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

@ -62,7 +62,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

@ -62,7 +62,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

@ -58,7 +58,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

@ -57,7 +57,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

@ -136,7 +136,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

@ -51,7 +51,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

@ -64,7 +64,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

@ -43,7 +43,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

@ -56,7 +56,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

@ -42,7 +42,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

@ -83,7 +83,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

@ -112,7 +112,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

@ -46,7 +46,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

@ -50,7 +50,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

@ -27,7 +27,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

@ -93,7 +93,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

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

1
ui-ngx/src/app/shared/components/entity/entity-keys-list.component.html

@ -42,7 +42,6 @@
[matChipInputFor]="chipList"
[matChipInputSeparatorKeyCodes]="separatorKeysCodes"
matChipInputAddOnBlur
[disabled]="disabled"
(matChipInputTokenEnd)="add($event)">
</mat-chip-grid>
<mat-autocomplete #keyAutocomplete="matAutocomplete"

Loading…
Cancel
Save