diff --git a/source/enable-desktops/modify-form-attributes.rst b/source/enable-desktops/modify-form-attributes.rst index c878a40b..23152480 100644 --- a/source/enable-desktops/modify-form-attributes.rst +++ b/source/enable-desktops/modify-form-attributes.rst @@ -310,3 +310,5 @@ really have any meaning in the LinuxHost Adapter. .. _ruby string: https://ruby-doc.org/core-2.2.0/String.html .. _markdown: https://en.wikipedia.org/wiki/Markdown + + diff --git a/source/how-tos/app-development/interactive.rst b/source/how-tos/app-development/interactive.rst index c1133e19..ce575b26 100644 --- a/source/how-tos/app-development/interactive.rst +++ b/source/how-tos/app-development/interactive.rst @@ -47,3 +47,4 @@ Each of these files/directories are described below in their respective stage. interactive/conn-params interactive/additional-info interactive/saved-settings + interactive/advanced diff --git a/source/how-tos/app-development/interactive/advanced.rst b/source/how-tos/app-development/interactive/advanced.rst new file mode 100644 index 00000000..26e7dd0e --- /dev/null +++ b/source/how-tos/app-development/interactive/advanced.rst @@ -0,0 +1,25 @@ +.. _app-development-interactive-advanced: + +Advanced Interactive Application Configurations +=============================================== + +Now that you have an application up and running, +here are some advanced features you can use. + +Displaying choices made in Session Card +--------------------------------------- + +If you want to show a form attribute in the session card, you can set the +:ref:`display ` option to ``true``. For example, to show the +version of R selected edit ``form.yml`` with: + +.. code-block:: yaml + :emphasize-lines: 3 + + attributes: + r_version: + display: true # Displays the choice in the card + widget: "select" + options: + - "4.2" + - "4.1" diff --git a/source/how-tos/app-development/interactive/form.rst b/source/how-tos/app-development/interactive/form.rst index 1fed2495..84ef8b92 100644 --- a/source/how-tos/app-development/interactive/form.rst +++ b/source/how-tos/app-development/interactive/form.rst @@ -592,6 +592,8 @@ are: cacheable: false +.. _display_option: + .. describe:: display (Boolean, false) whether the form item should be displayed in the session card after it was created.