Welcome to the JavaScript feedback portal. We’re happy you’re here! If you have feedback on how to improve the JavaScript, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
Could a way to manually set the persistence version for all components be added when enabling version-based persistence?
I can see in the documentation how to enable version-based persistence (link), but there is no way to set the default version.
The problem I'm running into is that I have multiple environments for the same web application all running on the same domain name, but with a different path (ex. mycompany.com/MyAppDev, mycompany.com/MyAppTest, mycompany.com/MyApp). Because these applications are all under the same domain name, the persistence data in local storage is getting contaminated when working in the different environments.
Rather than turning on version-based persistence and then having to set the persistence version in every single component I'm using throughout the web application, could the ej.base.enableVersionBasedPersistence(true) method be modified to all for an additional parameter that sets the persistence version for all components (ex. ej.base.enableVersionBasedPersistence(true, 'development'))?
-- UPDATE --
Trying to re-open this feature request. See attached component.txt file which has simple changes to achieve the desired functionality.