Skip to content

Commit cde16cb

Browse files
committed
fix: Import ha-expansion-panel in ha-form-expandable
The current usages of ha-form-expandable only work correctly because ha-expansion-panel is already imported somewhere else by coincidence. This adds an explicit import to avoid breakages when using ha-form-expandable in a standalone context (e.g. within ./hassio).
1 parent 4ff3dfd commit cde16cb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/ha-form/ha-form-expandable.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { css, html, LitElement, nothing } from "lit";
22
import { customElement, property } from "lit/decorators";
33
import type { HomeAssistant } from "../../types";
44
import "./ha-form";
5+
import "../ha-expansion-panel";
56
import type {
67
HaFormDataContainer,
78
HaFormElement,

0 commit comments

Comments
 (0)