Skip to content

Add documentation for allowDismiss and cssClass #207

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: 1.2
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions backend/relations.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ Option | Type | Description
------------- | ------------- | -------------
`title` | Both | a popup title, can refer to a [localization string](../plugin/localization). <br/> Additionally, you can customize the title for each mode individually by setting this to an associative array, with the key being the mode and the value being the title used when displaying that mode. Eg: `form: acme.blog::lang.subcategory.FormTitle`.
`context` | Form | context of the form being displayed. Can be a string or an array with keys: create, update.
`allowDismiss` | Both | closes the modal when clicking next to it. Default: `false`
`cssClass` | Both | Adds extra CSS classes to the modal. Default: `null`

## Relationship types

Expand Down