I am facing an issue while using global storage that the data is returning same though the key is different. Suppose if I store a value such as,
monday.storage.setItem(‘key#clientId#446487’, ‘some data’);
Where as while retrieving
monday.storage.getItem(‘key#clientId#446487’) ; // Returning ‘some data’
monday.storage.getItem(‘key#clientId#469720’) ; // Returning ‘some data’
Ideally it should return different data for the second statement as the key is different. Any idea? @rachelatmonday
I am not sure what is missing, Can you help me with this matter. Thanks
I think this has to do with the currently the way the Storage API works. If you will still like to keep #, you can encode the key and then decode it when you want to use it.
The same principle applies to storing empty strings or new lines. They might save without any errors but if you try to get back those saved values, it will return a previously saved value