Set default values for required and disabled for labeled slider (#19246)

Set default values
This commit is contained in:
Simon Lamon 2024-01-02 20:00:19 +01:00 committed by GitHub
parent e721481757
commit 8a8b04ed00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,9 +10,9 @@ class HaLabeledSlider extends LitElement {
@property() public caption?: string;
@property() public disabled?: boolean;
@property({ type: Boolean }) public disabled = false;
@property() public required?: boolean;
@property({ type: Boolean }) public required = true;
@property() public min: number = 0;