Skip to content

Commit

Permalink
add favorites to the path_selector (#952)
Browse files Browse the repository at this point in the history
  • Loading branch information
johrstrom authored Mar 14, 2024
1 parent 0e37688 commit fe30ba5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions source/how-tos/app-development/interactive/form-widgets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,19 @@ Form Widgets
``show_files`` is a boolean flag to show files or not. This defaults
to true - it will show files.

``favorites`` allows you to override the :ref:`favorite paths you've added
in files menu <add-shortcuts-to-files-menu>`.

.. code-block:: yaml
path:
widget: "path_selector"
directory: "/fs/ess/project"
show_hidden: true
show_files: false
favorites:
- /fs/ess
- /fs/scratch
==================================================================

Expand Down

0 comments on commit fe30ba5

Please sign in to comment.