Put value from a pick list into localStorage

I am trying to get a selected value from a pick list into localStorage.

I have attached some screens to show my situation.

Any help would be appreciated.

Mike

1 Like

Hi there @mdsmith1,

So the steps I would take are:

1- Create an event handler within yoru select1 component
2- The event will trigger on change
3- The event that will be triggered will be a set to local storage
4- Decide the key for your value, and use {{selfvalue}} as value.

See below screenshot showing the above steps:

Hope this helps!

2 Likes

Miguel:

I have tried very carefully to follow your steps.

The values in localStorage are coming in backwards as per the screen below.

Any suggestions would be appreciated.

Mike

1 Like

Miguel:

I have got it to work !!

I just had to keep plugging.

Thank you so much for all your help.

I will mark your post as a Solution.

Thanks again.

Mike

1 Like