-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document the display option of an attribute. (#1037)
add interactive/advanced.rst Add a page for advanced interactive application options to highlight some things that could be buried in the documentation. And highligh the display attribute for readers who've missed it. --------- Co-authored-by: Jeff Ohrstrom <[email protected]>
- Loading branch information
1 parent
0ef6582
commit 800e7a1
Showing
4 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <display_option>` 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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters