Hi,
I have a database set up in a table and you can search on several filters. Each row leads to a dynamic page. Now I want to create a button on the dynamic page that when clicked on it returns to the page with my database but with the last filters still active.
I have created the back button and it goes to my previous page but it loads with all the filters undefined. I’ve tried so far to store each dropdown value with memory.setItem and memory.getItem when the database reloads again. The only result I get is that the placeholder text of the dorpdown changes to the value saved in the memory but the database doesn’t apply the filter. When I put the dropdown value in console.log it shows ‘undefined’, even when the text in the dropdown has the selected value.