mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Add text-selector autocomplete in Bring config flow (#124063)
Add autocomplete to Bring config flow schema
This commit is contained in:
parent
31aef86c0f
commit
fd0c63fe52
@ -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",
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user