# dialog\_config\_edit

Source: https://zotonic.com/docs/1725/dialog_config_edit

URI: https://zotonic.com/id/1725

Language: en



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.

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

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1725?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/1725?language=en>)
