Skip to content

Commit

Permalink
Set default values for required and disabled for labeled slider (#19246)
Browse files Browse the repository at this point in the history
Set default values
  • Loading branch information
silamon authored Jan 2, 2024
1 parent e721481 commit 8a8b04e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ha-labeled-slider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 8a8b04e

Please sign in to comment.