Closed rstanislav closed 2 years ago
@rstanislav Thanks for trying out this package.
Ensure Alpine.js v3 and all dependencies stated in the README are installed and imported in your project. If error persist, please post snippets of your js import codes and step to reproduce.
I have checked and found that old version of alpine used, updated to v3 and its working, thanks! But now on page load every select element is "opened", i think its not supposed to work like this ?
@rstanislav Check your console if any errors or conflicting packages because it ought to work without any issue if dependencies are installed correctly.
No errors in console, by open i mean they are all opened for split-second, looks like while page is loading, when its finished they are all working as intended
I think this has to do with Alpine.js, this package uses the Alpine.js' x-cloak
directive, please add the following to your CSS file.
[x-cloak] {
display: none !important;
}
x-cloak
addresses this scenario by hiding the element it's attached to until Alpine is fully loaded on the page.
Hello! Trying to use simple select:
When selecting value it throws error:
Strange thing is that selectedCar value gets updated in livewire and after that it throws error.