css of select field not working anymore
Using filament 3.2 in Laravel 10, the css of the select dropdown is not applied anymore to the item list. No errors in browser console or network tab.
Moving back to the commit where it still works does not help me, as it seems nothing related to css was changed there.
Here's some extra info:
Any ideas? Thx.
Solution:Jump to solution
Hi, I found the answer to the 'problem' after noticing on another page that I had a dropdown with the 'correct' and 'incorrect' formatting on the same page.
The difference between the two was that one of them had the method '->searchable()' chained to it, which has another, in my opinion nicer, layout for the itemlist than a non searchable select. Sorry, had to obfuscate the text of the items in the screenshot which makes it less clear....
6 Replies
Please read the #β
βrules about how to format your code properly.
also ensure you run: npm run build
Also can you share a screenshot?
Solution
Hi, I found the answer to the 'problem' after noticing on another page that I had a dropdown with the 'correct' and 'incorrect' formatting on the same page.
The difference between the two was that one of them had the method '->searchable()' chained to it, which has another, in my opinion nicer, layout for the itemlist than a non searchable select. Sorry, had to obfuscate the text of the items in the screenshot which makes it less clear.
So nothing broken? π
π π
BTW if you prefer the non native one you can use
->native(false)
on the other selects