mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
Add multiple option to text selector (#30032)
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
parent
f448422ad7
commit
8fd64881a3
@ -1212,7 +1212,7 @@ The output of this selector is a template string.
|
||||
|
||||
## Text selector
|
||||
|
||||
The text selector can be used to input a text string. The value of the input will contain the selected text.
|
||||
The text selector can be used to enter a text string. It can also be used to enter a list of text strings; if `multiple` is set to `true`. The value of the input will contain the selected text. This can be used in shopping lists, for example.
|
||||
|
||||

|
||||
|
||||
@ -1252,6 +1252,12 @@ autocomplete:
|
||||
Any value supported by the HTML attribute is valid.
|
||||
type: string
|
||||
required: false
|
||||
multiple:
|
||||
description: >
|
||||
Allows adding list of text strings. If set to `true`, the resulting value of this selector will be a list instead of a single string value.
|
||||
type: boolean
|
||||
default: false
|
||||
required: false
|
||||
{% endconfiguration %}
|
||||
|
||||
The output of this selector is a single string value.
|
||||
|
Loading…
x
Reference in New Issue
Block a user