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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
29 changed files with
0 additions and
30 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
-
ui-ngx/src/app/shared/components/entity/entity-keys-list.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> |
|
|
|
|
|
|
|
@ -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> |
|
|
|
|
|
|
|
@ -48,7 +48,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
predefinedValuesButton="true" |
|
|
|
[disabled]="!labelValueCardWidgetConfigForm.get('showLabel').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="label" |
|
|
|
|
|
|
|
@ -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> |
|
|
|
|
|
|
|
@ -49,7 +49,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
predefinedValuesButton="true" |
|
|
|
[disabled]="!timeseriesTableWidgetConfigForm.get('showTitle').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="title" |
|
|
|
|
|
|
|
@ -62,7 +62,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
predefinedValuesButton="true" |
|
|
|
[disabled]="!valueCardWidgetConfigForm.get('showLabel').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="label" |
|
|
|
|
|
|
|
@ -58,7 +58,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" |
|
|
|
|
|
|
|
@ -57,7 +57,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" |
|
|
|
|
|
|
|
@ -136,7 +136,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
predefinedValuesButton="true" |
|
|
|
[disabled]="!timeSeriesChartWidgetConfigForm.get('showTitle').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="title" |
|
|
|
|
|
|
|
@ -51,7 +51,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
predefinedValuesButton="true" |
|
|
|
[disabled]="!entitiesTableWidgetConfigForm.get('showTitle').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="title" |
|
|
|
|
|
|
|
@ -64,7 +64,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
predefinedValuesButton="true" |
|
|
|
[disabled]="!batteryLevelWidgetConfigForm.get('showTitle').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="title" |
|
|
|
|
|
|
|
@ -43,7 +43,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
predefinedValuesButton="true" |
|
|
|
[disabled]="!levelCardWidgetConfigForm.get('showTitle').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="title" |
|
|
|
|
|
|
|
@ -56,7 +56,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
predefinedValuesButton="true" |
|
|
|
[disabled]="!signalStrengthWidgetConfigForm.get('showTitle').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="title" |
|
|
|
|
|
|
|
@ -42,7 +42,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
predefinedValuesButton="true" |
|
|
|
[disabled]="!mapWidgetConfigForm.get('showTitle').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="title" |
|
|
|
|
|
|
|
@ -83,7 +83,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" |
|
|
|
|
|
|
|
@ -112,7 +112,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" |
|
|
|
|
|
|
|
@ -46,7 +46,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
predefinedValuesButton="true" |
|
|
|
[disabled]="!appearanceFormGroup.get('showLabel').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="label" |
|
|
|
|
|
|
|
@ -50,7 +50,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
predefinedValuesButton="true" |
|
|
|
[disabled]="!countWidgetConfigForm.get('showLabel').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="label" |
|
|
|
|
|
|
|
@ -27,7 +27,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
predefinedValuesButton="true" |
|
|
|
[disabled]="!stateSettingsFormGroup.get('showLabel').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="label" |
|
|
|
|
|
|
|
@ -93,7 +93,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
predefinedValuesButton="true" |
|
|
|
[disabled]="!singleSwitchWidgetSettingsForm.get('showLabel').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="label" |
|
|
|
|
|
|
|
@ -58,7 +58,6 @@ |
|
|
|
brackets="curly" |
|
|
|
subscriptSizing="dynamic" |
|
|
|
[predefinedValuesButton]="true" |
|
|
|
[disabled]="!widgetSettings.get('showTitle').value" |
|
|
|
[predefinedValues]="predefinedValues" |
|
|
|
placeholderText="{{ 'widget-config.set' | translate }}" |
|
|
|
formControlName="title" |
|
|
|
|
|
|
|
@ -42,7 +42,6 @@ |
|
|
|
[matChipInputFor]="chipList" |
|
|
|
[matChipInputSeparatorKeyCodes]="separatorKeysCodes" |
|
|
|
matChipInputAddOnBlur |
|
|
|
[disabled]="disabled" |
|
|
|
(matChipInputTokenEnd)="add($event)"> |
|
|
|
</mat-chip-grid> |
|
|
|
<mat-autocomplete #keyAutocomplete="matAutocomplete" |
|
|
|
|