Describe the bug
I am using livewire 3 full page components. I have x-select in a modal form. I navigate to the other page by clicking the menu. When I click brower back button, x-select show the duplicate values (blank). I can also see the following error in console when click browser back button.
Alpine Expression Error: index is not defined
Expression: "index"
To Reproduce
Steps to reproduce the behavior:
Open a page which has the x-select and option.
Move to any other page
click on browser back button
you would see the error.
Expected behavior
x-select should have the options given in the array, it should not add or duplicate options.
Describe the bug I am using livewire 3 full page components. I have x-select in a modal form. I navigate to the other page by clicking the menu. When I click brower back button, x-select show the duplicate values (blank). I can also see the following error in console when click browser back button.
Alpine Expression Error: index is not defined
Expression: "index"
To Reproduce Steps to reproduce the behavior:
Expected behavior x-select should have the options given in the array, it should not add or duplicate options.
Screenshots or Videos
https://github.com/wireui/wireui/assets/14364018/b6b53997-db01-4316-98c2-b264b199c634
Dependencies