victorybiz / laravel-simple-select

Laravel Simple Select inputs component for Blade and Livewire.
MIT License
121 stars 18 forks source link

Double dropdown arrow: how to fix? #21

Closed MGeurts closed 4 weeks ago

MGeurts commented 6 months ago

In a fresh Laravel 10 project, using TALL (including Tailwind), all Laravel-simple-select show a double dropdown arrow on the right. Does anybody know how to fix this? Thanks.

Simple-Select

MGeurts commented 6 months ago

Apparently, when I remove the class="form-select", then the component renders like it should.

Can someone explain this? Thanks.

NikarashiHatsu commented 4 weeks ago

If you're using Bootstrap, form-select will append the caret icon within the CSS file. But also the <x-simple-select /> component appends the caret icon as well, you might want to remove it manually after publishing the view.

MGeurts commented 4 weeks ago

I'm sorry. In the meantime I switched to TallStackUI components.