Add autocomplete to text selector (#81060)
This commit is contained in:
parent
435fc23737
commit
c940ad9920
1 changed files with 2 additions and 0 deletions
|
@ -869,6 +869,7 @@ class TextSelectorConfig(TypedDict, total=False):
|
|||
multiline: bool
|
||||
suffix: str
|
||||
type: TextSelectorType
|
||||
autocomplete: str
|
||||
|
||||
|
||||
class TextSelectorType(StrEnum):
|
||||
|
@ -904,6 +905,7 @@ class TextSelector(Selector):
|
|||
vol.Optional("type"): vol.All(
|
||||
vol.Coerce(TextSelectorType), lambda val: val.value
|
||||
),
|
||||
vol.Optional("autocomplete"): str,
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue