mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Render the label on the target selector (#21769)
* Render the label on the target selector * use label
This commit is contained in:
parent
d652f6382d
commit
01f692f05c
@ -81,7 +81,8 @@ export class HaTargetSelector extends LitElement {
|
||||
return nothing;
|
||||
}
|
||||
|
||||
return html`<ha-target-picker
|
||||
return html` ${this.label ? html`<label>${this.label}</label>` : nothing}
|
||||
<ha-target-picker
|
||||
.hass=${this.hass}
|
||||
.value=${this.value}
|
||||
.helper=${this.helper}
|
||||
|
Loading…
x
Reference in New Issue
Block a user