@skriptfabrik/variable-with-button-panel
v1.0.2
Published
Extends the global variable panel with a button to save the variable.
Readme
Directus Global Variable Panel with Button
Extends the global variable panel with a button to save the variable.
Usage
This panel allows you to create a variable which is globally accessible across other panels. You can use this to do things like create a string or number to prefix other insights panel titles or pass it as a value into a filter to query results.
In contrast to the built-in global variable panel, this panel allows you to save the variable manually by clicking the save button.
Requirements
- Directus 10.10.0+
Installation
Refer to the Official Guide for details on installing the extension from the Marketplace or manually.
How to add this Panel
- Create a new Panel and select Variable with Button from the list
- Set a variable key
- Configure the panel as desired (see the docs for the original Global Variable Panel)
- (Optional) Use the header to create a name for this panel
- Save the panel and position/resize as required
- Save the dashboard
