mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Add helper text to select slider (#14884)
* Add helper text to select slider * Make helper text conditional Only show if set. Co-authored-by: Bram Kragten <mail@bramkragten.nl> * Lint changes Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
parent
d8a68326fb
commit
0374330676
@ -67,6 +67,9 @@ export class HaFormInteger extends LitElement implements HaFormElement {
|
||||
@change=${this._valueChanged}
|
||||
></ha-slider>
|
||||
</div>
|
||||
${this.helper
|
||||
? html`<ha-input-helper-text>${this.helper}</ha-input-helper-text>`
|
||||
: ""}
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user