Browse Source
Minor update mqtt-version-select
Co-authored-by: Vladyslav Prykhodko <yanat708@gmail.com>
pull/13324/head
Artem Babak
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
7 deletions
-
ui-ngx/src/app/shared/components/mqtt-version-select.component.ts
|
|
|
@ -45,14 +45,9 @@ export class MqttVersionSelectComponent implements ControlValueAccessor { |
|
|
|
mqttVersionTranslation = MqttVersionTranslation; |
|
|
|
modelValue: MqttVersion; |
|
|
|
|
|
|
|
private requiredValue: boolean; |
|
|
|
get required(): boolean { |
|
|
|
return this.requiredValue; |
|
|
|
} |
|
|
|
@Input() |
|
|
|
set required(value: boolean) { |
|
|
|
this.requiredValue = coerceBooleanProperty(value); |
|
|
|
} |
|
|
|
@coerceBoolean() |
|
|
|
required = false; |
|
|
|
|
|
|
|
private propagateChange = (v: any) => { }; |
|
|
|
|
|
|
|
|