From 8fd64881a32d8bb78023c65eba538ac929966261 Mon Sep 17 00:00:00 2001 From: Paul Bottein Date: Wed, 29 Nov 2023 18:33:03 +0100 Subject: [PATCH] Add multiple option to text selector (#30032) Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> Co-authored-by: Franck Nijhof --- source/_docs/blueprint/selectors.markdown | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/source/_docs/blueprint/selectors.markdown b/source/_docs/blueprint/selectors.markdown index 6d279623167..9d8ccf23d7f 100644 --- a/source/_docs/blueprint/selectors.markdown +++ b/source/_docs/blueprint/selectors.markdown @@ -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.