I am filtering my data table with the help of different dropdowns I've created using lightning:select. I am storing the selected value using window.localStorge so that even after reload I can get the selected value in the dropdown and data table is already filtered.
My selected value stays after reload, console.log also shows the correct selected value and it also filters my datatable accordingly but the dropdown value returns to none
enter image description here
I want the selected value to appear in the dropdown and not return to none.