diff --git a/lib/galaxy/tools/xsd/galaxy.xsd b/lib/galaxy/tools/xsd/galaxy.xsd index 0abee298b1f..68fb8bb6649 100644 --- a/lib/galaxy/tools/xsd/galaxy.xsd +++ b/lib/galaxy/tools/xsd/galaxy.xsd @@ -1937,6 +1937,20 @@ rendered on the tool form as a text area instead of a single line text box. ``` +As of 17.01, ``text`` parameters can also supply a static list of preset +defaults options. The user **may** be presented with the option to select one of +these but will be allowed to supply an arbitrary text value. + +```xml + + + + +``` + +See [param_text_option.xml](https://github.com/galaxyproject/galaxy/blob/dev/test/functional/tools/param_text_option.xml) +for a demonstration of this. + $attribute_list:value,size,area:5 #### ``integer`` and ``float`` diff --git a/test/functional/tools/param_text_option.xml b/test/functional/tools/param_text_option.xml new file mode 100644 index 00000000000..21426556a14 --- /dev/null +++ b/test/functional/tools/param_text_option.xml @@ -0,0 +1,31 @@ + + + echo "$text_param" > $out_file1; + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/functional/tools/samples_tool_conf.xml b/test/functional/tools/samples_tool_conf.xml index 58ecb3b6f5a..97764633023 100644 --- a/test/functional/tools/samples_tool_conf.xml +++ b/test/functional/tools/samples_tool_conf.xml @@ -62,6 +62,7 @@ +