firecms
firecms copied to clipboard
Add confirm option to documents or fields
When changing a field that has special access, role or shouldn't accidentally be changed, I want to show a confirm alert with custom title and description, cancel
and confirm
buttons. Only when the alert is confirmed the data of the field or the document will be saved/updated.
Example
I have a users collection with user documents. I'm a Superadmin in this user list and can change users roles. Now, I don't want to accidentally make a "normal" user "admin", so I can configure the CMS to show a confirm alert when changing the value of the user document field role
.