bolyfci / livewire-multiselect
Livewire multiselect component
                                    Fund package maintenance!
                                                                            
                                                                                                                                        bolyfci
                                                                                    
                                                                
Installs: 7 075
Dependents: 0
Suggesters: 0
Security: 0
Stars: 11
Watchers: 1
Forks: 2
Open Issues: 3
Language:Blade
pkg:composer/bolyfci/livewire-multiselect
Requires
- php: ^7.4|^8.0
- illuminate/contracts: ^8.0
- spatie/laravel-package-tools: ^1.1
Requires (Dev)
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.3
- spatie/laravel-ray: ^1.9
- vimeo/psalm: ^4.4
This package is auto-updated.
Last update: 2021-12-04 18:38:04 UTC
README
Requirements
Installation
You can install the package via composer:
composer require bolyfci/livewire-multiselect
Usage
<x-multiselect wire:model="multiselect" :options="[['id' => 'laravel', 'name' => 'Laravel'], ['id' => 'alpineJs', 'name' => 'Alpine JS'], ['id' => 'livewire', 'name' => 'Livewire']]" />
Props
| Property | Arguments | Default | Example | 
|---|---|---|---|
| trackBy | String Used to compare objects. | id | trackBy="id" | 
| label | String Label from option Object, that will be visible in the dropdown.. | name | title="name" | 
| options | Arrray Array of available options. | ||
| placeholder | stringEquivalent to the placeholder attribute on a input. . | select options | placholder="select options" | 
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.