mirror of
https://github.com/home-assistant/core.git
synced 2025-08-10 08:05:06 +02:00
Add text-selector autocomplete in Bring config flow (#124063)
Add autocomplete to Bring config flow schema
This commit is contained in:
@@ -33,11 +33,13 @@ STEP_USER_DATA_SCHEMA = vol.Schema(
|
|||||||
vol.Required(CONF_EMAIL): TextSelector(
|
vol.Required(CONF_EMAIL): TextSelector(
|
||||||
TextSelectorConfig(
|
TextSelectorConfig(
|
||||||
type=TextSelectorType.EMAIL,
|
type=TextSelectorType.EMAIL,
|
||||||
|
autocomplete="email",
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
vol.Required(CONF_PASSWORD): TextSelector(
|
vol.Required(CONF_PASSWORD): TextSelector(
|
||||||
TextSelectorConfig(
|
TextSelectorConfig(
|
||||||
type=TextSelectorType.PASSWORD,
|
type=TextSelectorType.PASSWORD,
|
||||||
|
autocomplete="current-password",
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user