Fix boolean attributes (#23189)

This commit is contained in:
Paul Bottein
2024-12-06 18:39:34 +01:00
committed by GitHub
parent ea5bf17780
commit 6934f0626c
157 changed files with 275 additions and 234 deletions

View File

@@ -53,17 +53,20 @@ export class HaDateRangePicker extends LitElement {
@state() private _ranges?: DateRangePickerRanges;
@property({ attribute: false, type: Boolean }) public autoApply = false;
@property({ attribute: "auto-apply", type: Boolean })
public autoApply = false;
@property({ attribute: false, type: Boolean }) public timePicker = true;
@property({ attribute: "time-picker", type: Boolean })
public timePicker = true;
@property({ attribute: false, type: Boolean }) public disabled = false;
@property({ type: Boolean }) public disabled = false;
@property({ type: Boolean }) public minimal = false;
@state() private _hour24format = false;
@property({ attribute: false, type: Boolean }) public extendedPresets = false;
@property({ attribute: "extended-presets", type: Boolean })
public extendedPresets = false;
@property({ attribute: false }) public openingDirection?:
| "right"