Bug? Can't select Session Storage Item OR Local Storage 'name' when trying to add data

======== TEMPLATE BUG FORM ========

Wappler Version : 3.7.6
Operating System : Mac
Server Model: NodeJS
Database Type: Mysql8
Hosting Type: AWS Docker

Expected behavior

What do you think should happen?

I want to add an array to the Session Storage Manager. I have added the Session Storage Manager to the page, I've included a new array in the Storage Manager.

Actual behavior

What actually happens?

I'm using an on:click event and I click on Set for Session Storage Manager. I can select a value, but when I try to click on the 'name' drop-down I get 'empty list'.

Screen Shot 2021-02-17 at 8.25.43 am

Screen Shot 2021-02-17 at 8.22.47 am

I'm hoping this isn't a bug, and i'm doing something wrong!

Updated title as it's doing the same for Local Storage, too.

Hey @Teodor I hope you don’t mind me tagging - this is a blocker for us on a specific feature, so would appreciate knowing if this is a bug ,or if I’m simply doing something wrong!

Maybe a little more info will be useful - What type of pages are you using? Where is the session manager added? What page are you trying to call it from?

Thanks for the reply @Teodor.

I’m applying both the Session Storage Manager and Local Storage Manager to the ‘Content Page’ and not the ‘Layout Page’.

I then add the array in both.

Then within the content page, I’m using a Dynamic Event on button click - which I then want to apply the array in a repeat into the array in the Session Storage Manager.

I think you have the same issue as reported here:

What happens if you add your session manager on the layout page instead?

2 Likes

Thanks @Teodor - applying to the layout page and calling on the content page worked. The array is now able to be selected in the drop down. I guess this is a bug, but glad to have a workaround!