mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-13 12:26:35 +00:00
display invalid status on the input
This commit is contained in:
parent
ddbe7b68f5
commit
4d59bf93c6
@ -338,6 +338,7 @@ class ZWaveJSNodeConfig extends LitElement {
|
||||
([value, label]) => ({ value, label })
|
||||
)}
|
||||
.disabled=${!item.metadata.writeable}
|
||||
.invalid=${result?.status === "error"}
|
||||
.placeholder=${item.metadata.unit}
|
||||
.helper=${`${this.hass.localize("ui.panel.config.zwave_js.node_config.between_min_max", { min: item.metadata.min, max: item.metadata.max })}${defaultLabel ? `, ${defaultLabel}` : ""}`}
|
||||
@value-changed=${this._getComboBoxValueChangedCallback(id, item)}
|
||||
|
Loading…
x
Reference in New Issue
Block a user