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:
Paul Bottein 2023-11-29 18:33:03 +01:00 committed by GitHub
parent f448422ad7
commit 8fd64881a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.
![Screenshot of text selectors](/images/blueprints/selector-text.png)
@ -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.