1
mirror of https://github.com/home-assistant/frontend synced 2024-09-28 00:43:28 +02:00

Fix suffix not showing up (#14816)

This commit is contained in:
Joost Lekkerkerker 2022-12-19 14:24:57 +01:00 committed by GitHub
parent b31a9d590e
commit 019ef4ba8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 10 deletions

View File

@ -156,13 +156,11 @@ class OnboardingCoreConfig extends LitElement {
type="number" type="number"
.disabled=${this._working} .disabled=${this._working}
.value=${this._elevationValue} .value=${this._elevationValue}
.suffix=${this.hass.localize(
"ui.panel.config.core.section.core.core_config.elevation_meters"
)}
@change=${this._handleChange} @change=${this._handleChange}
> >
<span slot="suffix">
${this.hass.localize(
"ui.panel.config.core.section.core.core_config.elevation_meters"
)}
</span>
</ha-textfield> </ha-textfield>
</div> </div>

View File

@ -118,13 +118,11 @@ class HaConfigSectionGeneral extends LitElement {
type="number" type="number"
.disabled=${disabled} .disabled=${disabled}
.value=${this._elevation} .value=${this._elevation}
.suffix=${this.hass.localize(
"ui.panel.config.core.section.core.core_config.elevation_meters"
)}
@change=${this._handleChange} @change=${this._handleChange}
> >
<span slot="suffix">
${this.hass.localize(
"ui.panel.config.core.section.core.core_config.elevation_meters"
)}
</span>
</ha-textfield> </ha-textfield>
<div> <div>
<div> <div>