diff --git a/src/components/ha-selector/ha-selector-text.ts b/src/components/ha-selector/ha-selector-text.ts index 7431c05833..565ef8889e 100644 --- a/src/components/ha-selector/ha-selector-text.ts +++ b/src/components/ha-selector/ha-selector-text.ts @@ -1,4 +1,3 @@ -import "@material/mwc-textarea/mwc-textarea"; import { mdiEye, mdiEyeOff } from "@mdi/js"; import { css, CSSResultGroup, html, LitElement } from "lit"; import { customElement, property, state } from "lit/decorators"; @@ -6,6 +5,7 @@ import { fireEvent } from "../../common/dom/fire_event"; import { StringSelector } from "../../data/selector"; import { HomeAssistant } from "../../types"; import "../ha-icon-button"; +import "../ha-textarea"; import "../ha-textfield"; @customElement("ha-selector-text") @@ -26,7 +26,7 @@ export class HaTextSelector extends LitElement { protected render() { if (this.selector.text?.multiline) { - return html``; + autogrow + >`; } return html`