removing the blue "default behaviour after saving has been changed" #1306
-
When I change some fields I get both a green "The item has been modified successfully" and a blue "Default behaviour after saving has been changed" popup: The blue popup, in particular, seems pointlessly redundant and I'd rather not have it. I saw that it's in resources/lang/vendor/backpack/en/crud.php as That said, I see that it's coming from vendor/backpack/crud/src/app/Library/CrudPanel/Traits/SaveActions.php, in the Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
🚨 Bot is not sure about this answer. Please verify. 🚨 To address your question about removing the blue "Default behaviour after saving has been changed" notification, there is indeed a way to disable this notification. Based on the knowledge sources provided, you can use the following method in your CRUD controller setup: CRUD::setOperationSetting('showSaveActionChange', false); This setting will disable the notification for save action changes, as documented in the Backpack CRUD Save Actions documentation. By adding this line to your controller's setup method (e.g., Regarding your observation about blanking out the language string, unfortunately, the knowledge sources don't provide information on whether that approach would work. The method described above is the recommended way to disable this specific notification. If you need any further customization of save actions or notifications, you might want to explore the Save Actions API, which offers methods like ℹ️ Please note our AI Bot does not reply to follow-ups, this will be the only AI answer in this thread. If the AI helped you find the answer, please mark it as answered or write details below so it can learn. Then close the conversation. If not, please give more information for when a human reads this. ℹ️ Relevant sources: FAQs for CRUDs|Overwrite a Method on the CrudPanel Object |
Beta Was this translation helpful? Give feedback.
-
Hello @prescriptionlifeline As our bot says, you can use to disable the message.
Cheers. |
Beta Was this translation helpful? Give feedback.
Hello @prescriptionlifeline
As our bot says, you can use to disable the message.
Cheers.