dialog_config_edit

Open a dialog to edit a configuration key/value pair.

Arguments:

  • module and key identify the current entry.
  • value pre-fills the value field.
  • on_success can be repeated to run actions after saving.

An editable administrator can change the module, key, and value. If the module or key changes then the old entry is deleted before the new entry is stored.

{% button text="Edit" action={dialog_config_edit module=module key=key value=value on_success={reload}} %}

Edit on GitHub