asantibanez/livewire-select

How to override styling dropdown for searchable component??

Closed this issue · 3 comments

How to override styling dropdown for searchable component??

You can only override the styles() method from the parent component class.

In order to manage the views in our project and as a consequence the style of each one, we need to follow the steps below:

  • Publish the views:

    php artisan vendor:publish

  • This show a list like this:

    Which provider or tag's files would you like to publish?:
    [0 ] Publish files from all providers and tags listed below
    [1 ] Provider: Asantibanez\LivewireSelect\LivewireSelectServiceProvider ...

  • Select the provider Asantibanez\LivewireSelect\LivewireSelectServiceProvider

  • Go to resources/views/vendor/livewire-select and change the components class

Hope my simple solution works for your project :)

Thanks