-
Since updating to Orchid 14.2.1 I have the problem with the new form cancel popup "Do you really want to leave? You have unsaved changes." when leaving or refreshing a page with unsaved changes. On a very customized page inside the admin panel it's causing big problems for us. I need to disable this new feature somehow global or for specific pages. It seems to be located in: vendor/orchid/platform/resources/js/controllers/form_controller.js Any solution that works is welcome. I really need to get this fixed! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You can disable this behavior in the configuration file: Lines 295 to 305 in 262e3c8 Or set this behavior in a particular screen. For example, enable/disable platform/src/Screen/Screen.php Lines 345 to 351 in 262e3c8 |
Beta Was this translation helpful? Give feedback.
-
Thank you, it's working. I copied things like the user/role files after the upgrade but I never checked the config folder, since it's not getting updated after composer update. |
Beta Was this translation helpful? Give feedback.
You can disable this behavior in the configuration file:
platform/config/platform.php
Lines 295 to 305 in 262e3c8
Or set this behavior in a particular screen. For example, enable/disable
platform/src/Screen/Screen.php
Lines 345 to 351 in 262e3c8