mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-09 10:59:50 +00:00
Fix boolean attributes (#23189)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user