mirror of
https://github.com/home-assistant/frontend
synced 2024-09-28 00:43:28 +02:00
Always show translated labels for ha-form-multi_select (#17360)
This commit is contained in:
parent
09e26c8fd7
commit
a1748260d3
@ -91,7 +91,11 @@ export class HaFormMultiSelect extends LitElement implements HaFormElement {
|
||||
slot="trigger"
|
||||
.label=${this.label}
|
||||
.value=${data
|
||||
.map((value) => this.schema.options![value] || value)
|
||||
.map(
|
||||
(value) =>
|
||||
optionLabel(options.find((v) => optionValue(v) === value)) ||
|
||||
value
|
||||
)
|
||||
.join(", ")}
|
||||
.disabled=${this.disabled}
|
||||
tabindex="-1"
|
||||
|
Loading…
Reference in New Issue
Block a user