Skip to content

Commit

Permalink
add docs on new data-hide behaviour (#1025)
Browse files Browse the repository at this point in the history
  • Loading branch information
johrstrom authored Nov 25, 2024
1 parent 7f028eb commit 6c37885
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@ instructs the webpage to hide the ``cuda_version`` when the ``standard``
By forcing a value after hiding it you can ensure that the correct values
are being passed to the server.

.. tip::

In addition to setting the value to ``true`` to hide the form item, in 4.0
you can also specify ``false`` to show the form item.

.. code-block:: yaml
:emphasize-lines: 7
Expand Down
9 changes: 9 additions & 0 deletions source/release-notes/v4.0-release-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ New Features
- `noVNC quality and compression defaults`_
- `Batch connect sessions poll delay`_
- `System Status application`_
- `data-hide directives now respond to false`_
- `User mapping now accepts UIDs`_
- `Interactive apps can have a text header`_
- `Remove runtime dependency on SCL`_
Expand Down Expand Up @@ -332,6 +333,14 @@ for more details.

Visit :ref:`disabling_applications` to disable this application.

data-hide directives now respond to false
.........................................

``data-hide`` directives now respond to both ``true`` to hide
the form item or ``false`` to show the form item.

Responding to ``false`` is new in 4.0.

User mapping now accepts UIDs
.............................

Expand Down

0 comments on commit 6c37885

Please sign in to comment.