mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Hide top label for number selector using box mode (#21888)
This commit is contained in:
parent
d28f1f07e7
commit
0ff2f1bf75
@ -67,7 +67,9 @@ export class HaNumberSelector extends LitElement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return html`
|
return html`
|
||||||
${this.label ? html`${this.label}${this.required ? "*" : ""}` : nothing}
|
${this.label && !isBox
|
||||||
|
? html`${this.label}${this.required ? "*" : ""}`
|
||||||
|
: nothing}
|
||||||
<div class="input">
|
<div class="input">
|
||||||
${!isBox
|
${!isBox
|
||||||
? html`
|
? html`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user