Minor update mqtt-version-select
Co-authored-by: Vladyslav Prykhodko <yanat708@gmail.com>
This commit is contained in:
parent
f8932da09a
commit
59bba4508d
@ -45,14 +45,9 @@ export class MqttVersionSelectComponent implements ControlValueAccessor {
|
|||||||
mqttVersionTranslation = MqttVersionTranslation;
|
mqttVersionTranslation = MqttVersionTranslation;
|
||||||
modelValue: MqttVersion;
|
modelValue: MqttVersion;
|
||||||
|
|
||||||
private requiredValue: boolean;
|
|
||||||
get required(): boolean {
|
|
||||||
return this.requiredValue;
|
|
||||||
}
|
|
||||||
@Input()
|
@Input()
|
||||||
set required(value: boolean) {
|
@coerceBoolean()
|
||||||
this.requiredValue = coerceBooleanProperty(value);
|
required = false;
|
||||||
}
|
|
||||||
|
|
||||||
private propagateChange = (v: any) => { };
|
private propagateChange = (v: any) => { };
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user