Skip to content

Commit

Permalink
add docs on new data-hide behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
johrstrom committed Nov 21, 2024
1 parent f9f8523 commit cafe371
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 @@ -15,6 +15,7 @@ New Features
- `noVNC quality and compression defaults`_
- `Batch connect sessions poll delay`_
- `System Status application`_
- `data-hide directives now respond to false`_

Thanks!
-------
Expand Down Expand Up @@ -159,3 +160,11 @@ update the page. The default is 10 seconds. See :ref:`the documentation on statu
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.

0 comments on commit cafe371

Please sign in to comment.