Select hidden advances #625
Unanswered
matiaslawwliet
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I've been having issues with preline since the beginning. The preline installation guide for Laravel doesn't seem to work properly. I've even seen other users having the same problem. I have Laravel 10, tailwindcss 4.1.0, preline 3.0.1, preline/select 3.0.1, and alpinejs 3.14.9.
How do I implement preline?
In my postcss.config.js file:
and vite.config.js:
In app.js file is as follows:
and app.css:
Now that there's more context, my problem is as follows:** To correctly display an advanced select, I need to add "--prevent-on-load-init" to the hidden class. If I don't add this class, the select will never be displayed. I eventually initialize it with Alpinejs, but sometimes a duplicate is created. I need to figure out how I invoke the select to avoid duplication.
I appreciate any help.
I'm attaching this small snippet of my view:
Beta Was this translation helpful? Give feedback.
All reactions