Jmix version: 1.2.3
Jmix Studio plugin version: 1.2.3 - 213
IntelliJ IDEA 2022.1.1 (Community Edition)
Build #IC-221.5591.52, built on May 10, 2022
Runtime version: 11.0.14.1+1-b2043.45 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Operating System: macOS 12.3.1 (21E258)
File System: Case-Sensitive Journaled HFS+ (APFS)
Datebase: PostgreSQL 13
Hello Everyone
I would like to know how to configure the Logout button so that it does not ignore my editor screen’s unsaved changes.
The BeforeCloseEvent information here Screen Events :: Jmix Documentation is useful, however, it should not be necessary to add this code to every single editor screen. If I remember correctly, this action was caught in CUBA and the screen’s “You have unsaved changes” dialog was presented, just like when you press the screen’s default Cancel button.
Can you please suggest or provide a solution. Thanks in advance for your feedback.