We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am wondering how to use this package in Laravel with Bootstrap?
The text was updated successfully, but these errors were encountered:
@desyashasyi if you converted it in bootstrap can you post the changes?
Sorry, something went wrong.
you can custom class style to bootstrap form-select like this:
<?php namespace App\Http\Livewire\Custom\Components; use Asantibanez\LivewireSelect\LivewireSelect; use Illuminate\Support\Collection; class Tags extends LivewireSelect { public function options($searchTerm = null): Collection { return collect([ [ 'value' => 'honda', 'description' => 'Honda', ], [ 'value' => 'mazda', 'description' => 'Mazda', ], [ 'value' => 'tesla', 'description' => 'Tesla', ], ]); } public function styles() // Add this method for customing class element { return [ 'default' => 'form-select w-50', ]; } }
No branches or pull requests
I am wondering how to use this package in Laravel with Bootstrap?
The text was updated successfully, but these errors were encountered: