mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-09 10:59:50 +00:00
Allow placeholders in config and option flows (#9314)
This commit is contained in:
@@ -88,9 +88,10 @@ export const showOptionsFlowDialog = (
|
||||
);
|
||||
},
|
||||
|
||||
renderShowFormStepFieldError(hass, _step, error) {
|
||||
renderShowFormStepFieldError(hass, step, error) {
|
||||
return hass.localize(
|
||||
`component.${configEntry.domain}.options.error.${error}`
|
||||
`component.${configEntry.domain}.options.error.${error}`,
|
||||
step.description_placeholders
|
||||
);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user