Browse Source
Remove redundant [disabled] binding on reactive-form fields to fix NG01001 warning (#15877)
pull/15897/head
Vladyslav Prykhodko
3 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
28 changed files with
0 additions and
29 deletions
-
ui-ngx/src/app/modules/home/components/widget/config/basic/button/power-button-basic-config.component.html
-
ui-ngx/src/app/modules/home/components/widget/config/basic/button/toggle-button-basic-config.component.html
-
ui-ngx/src/app/modules/home/components/widget/config/basic/cards/aggregated-value-card-basic-config.component.html
-
ui-ngx/src/app/modules/home/components/widget/config/basic/cards/label-value-card-basic-config.component.html
-
ui-ngx/src/app/modules/home/components/widget/config/basic/cards/progress-bar-basic-config.component.html
-
ui-ngx/src/app/modules/home/components/widget/config/basic/cards/timeseries-table-basic-config.component.html
-
ui-ngx/src/app/modules/home/components/widget/config/basic/cards/value-card-basic-config.component.html
-
ui-ngx/src/app/modules/home/components/widget/config/basic/cards/value-chart-card-basic-config.component.html
-
ui-ngx/src/app/modules/home/components/widget/config/basic/chart/bar-chart-with-labels-basic-config.component.html
-
ui-ngx/src/app/modules/home/components/widget/config/basic/chart/flot-basic-config.component.html
-
ui-ngx/src/app/modules/home/components/widget/config/basic/chart/latest-chart-basic-config.component.html
-
ui-ngx/src/app/modules/home/components/widget/config/basic/chart/range-chart-basic-config.component.html
-
ui-ngx/src/app/modules/home/components/widget/config/basic/chart/time-series-chart-basic-config.component.html
-
ui-ngx/src/app/modules/home/components/widget/config/basic/entity/entities-table-basic-config.component.html
-
ui-ngx/src/app/modules/home/components/widget/config/basic/indicator/battery-level-basic-config.component.html
-
ui-ngx/src/app/modules/home/components/widget/config/basic/indicator/liquid-level-card-basic-config.component.html
-
ui-ngx/src/app/modules/home/components/widget/config/basic/indicator/signal-strength-basic-config.component.html
-
ui-ngx/src/app/modules/home/components/widget/config/basic/map/map-basic-config.component.html
-
ui-ngx/src/app/modules/home/components/widget/config/basic/rpc/slider-basic-config.component.html
-
ui-ngx/src/app/modules/home/components/widget/config/basic/scada/scada-symbol-basic-config.component.html
-
ui-ngx/src/app/modules/home/components/widget/config/basic/weather/wind-speed-direction-basic-config.component.html
-
ui-ngx/src/app/modules/home/components/widget/lib/settings/cards/aggregated-value-card-widget-settings.component.html
-
ui-ngx/src/app/modules/home/components/widget/lib/settings/cards/label-value-card-widget-settings.component.html
-
ui-ngx/src/app/modules/home/components/widget/lib/settings/common/button/widget-button-appearance.component.html
-
ui-ngx/src/app/modules/home/components/widget/lib/settings/common/count-widget-settings.component.html
-
ui-ngx/src/app/modules/home/components/widget/lib/settings/common/indicator/status-widget-state-settings.component.html
-
ui-ngx/src/app/modules/home/components/widget/lib/settings/control/single-switch-widget-settings.component.html
-
ui-ngx/src/app/modules/home/components/widget/widget-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> |
|
|
|
|
|
|
|
@ -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> |
|
|
|
|
|
|
|
@ -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> |
|
|
|
|
|
|
|
@ -46,7 +46,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
predefinedValuesButton="true" |
|
|
|
[disabled]="!labelValueCardWidgetConfigForm.get('showLabel').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="label" |
|
|
|
|
|
|
|
@ -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> |
|
|
|
|
|
|
|
@ -49,7 +49,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
predefinedValuesButton="true" |
|
|
|
[disabled]="!timeseriesTableWidgetConfigForm.get('showTitle').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="title" |
|
|
|
|
|
|
|
@ -58,7 +58,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
predefinedValuesButton="true" |
|
|
|
[disabled]="!valueCardWidgetConfigForm.get('showLabel').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="label" |
|
|
|
|
|
|
|
@ -56,7 +56,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
predefinedValuesButton="true" |
|
|
|
[disabled]="!valueChartCardWidgetConfigForm.get('showTitle').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="title" |
|
|
|
|
|
|
|
@ -54,7 +54,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
predefinedValuesButton="true" |
|
|
|
[disabled]="!barChartWidgetConfigForm.get('showTitle').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="title" |
|
|
|
|
|
|
|
@ -49,7 +49,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
predefinedValuesButton="true" |
|
|
|
[disabled]="!flotWidgetConfigForm.get('showTitle').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="title" |
|
|
|
|
|
|
|
@ -55,7 +55,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
predefinedValuesButton="true" |
|
|
|
[disabled]="!latestChartWidgetConfigForm.get('showTitle').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="title" |
|
|
|
|
|
|
|
@ -38,7 +38,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
predefinedValuesButton="true" |
|
|
|
[disabled]="!rangeChartWidgetConfigForm.get('showTitle').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="title" |
|
|
|
|
|
|
|
@ -131,7 +131,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
predefinedValuesButton="true" |
|
|
|
[disabled]="!timeSeriesChartWidgetConfigForm.get('showTitle').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="title" |
|
|
|
|
|
|
|
@ -49,7 +49,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
predefinedValuesButton="true" |
|
|
|
[disabled]="!entitiesTableWidgetConfigForm.get('showTitle').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="title" |
|
|
|
|
|
|
|
@ -58,7 +58,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
predefinedValuesButton="true" |
|
|
|
[disabled]="!batteryLevelWidgetConfigForm.get('showTitle').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="title" |
|
|
|
|
|
|
|
@ -40,7 +40,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
predefinedValuesButton="true" |
|
|
|
[disabled]="!levelCardWidgetConfigForm.get('showTitle').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="title" |
|
|
|
|
|
|
|
@ -52,7 +52,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
predefinedValuesButton="true" |
|
|
|
[disabled]="!signalStrengthWidgetConfigForm.get('showTitle').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="title" |
|
|
|
|
|
|
|
@ -40,7 +40,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
predefinedValuesButton="true" |
|
|
|
[disabled]="!mapWidgetConfigForm.get('showTitle').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="title" |
|
|
|
|
|
|
|
@ -81,7 +81,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
predefinedValuesButton="true" |
|
|
|
[disabled]="!sliderWidgetConfigForm.get('showTitle').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="title" |
|
|
|
|
|
|
|
@ -40,7 +40,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
predefinedValuesButton="true" |
|
|
|
[disabled]="!scadaSymbolWidgetConfigForm.get('showTitle').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="title" |
|
|
|
|
|
|
|
@ -100,7 +100,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
predefinedValuesButton="true" |
|
|
|
[disabled]="!windSpeedDirectionWidgetConfigForm.get('showTitle').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="title" |
|
|
|
|
|
|
|
@ -33,7 +33,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
[predefinedValuesButton]="true" |
|
|
|
[disabled]="!aggregatedValueCardWidgetSettingsForm.get('showSubtitle').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="subtitle" |
|
|
|
|
|
|
|
@ -33,7 +33,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
[predefinedValuesButton]="true" |
|
|
|
[disabled]="!labelValueCardWidgetSettingsForm.get('showLabel').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="label" |
|
|
|
|
|
|
|
@ -42,7 +42,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
predefinedValuesButton="true" |
|
|
|
[disabled]="!appearanceFormGroup.get('showLabel').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="label" |
|
|
|
|
|
|
|
@ -48,7 +48,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
predefinedValuesButton="true" |
|
|
|
[disabled]="!countWidgetConfigForm.get('showLabel').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="label" |
|
|
|
|
|
|
|
@ -26,7 +26,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
predefinedValuesButton="true" |
|
|
|
[disabled]="!stateSettingsFormGroup.get('showLabel').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="label" |
|
|
|
|
|
|
|
@ -91,7 +91,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
predefinedValuesButton="true" |
|
|
|
[disabled]="!singleSwitchWidgetSettingsForm.get('showLabel').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="label" |
|
|
|
|
|
|
|
@ -51,7 +51,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
[predefinedValuesButton]="true" |
|
|
|
[disabled]="!widgetSettings.get('showTitle').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="title" |
|
|
|
|