iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hello Crosslight Support,
there is a strange behaviour when using the form editor. Please, take a look at the fieldservice sample. After login select an assignment in the list. In the assignment view navigate to the expenses tab and select one of the expenses. Now, you are in the edit expense view, which is made with Crosslight form editor. Change some data here (e.g. Expense Type) and use the back arrow (top left corner) to navigate back.
I thought that this back arrow is the same as cancelling the changes made in the edit expense view. I thought this, because there is an explicit save button in the top right corner. But back in the expenses tab, all the changes were saved and visible.
Is this the intended behaviour? Is it possible to cancel the changes when navigating back? A sample or short explanation would be nice.
I tested on Android but I think it is the same behaviour on iOS as well.
Thanks,
Thomas
Sorry for the delay in sending this.
I got the same result after follow the steps mentioned in your initial post. I tested on both, Android and iOS, with the same result.
I'll have this discussed with Crosslight development team and will get back to you today.
Updated on September 5, 2016 4:30 AMReason: update response
Yes, it is intended behavior. It's AutoSaveChangesOnDismiss property which allows to configure whether to save the changes upon UIFormViewController/FormFragment dismiss.
In the past releases, this feature is always enabled. Starting on Crosslight 5 Update 1, the default value for this new property is true to maintain compatibility.
It is possible to cancel the changes when navigating back. Simply override AutoSaveChangesOnDismiss property in UIFormViewController (for iOS) or FormFragment (for Android); then return its value to false.
Hope this helps.
This one is still not answered.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname