Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ahmedabdel3al/livewire-multiselect

Livewire Multiselect Component
https://github.com/ahmedabdel3al/livewire-multiselect

alpine livewire livewire-select multiselect select select2 tailwindcss

Last synced: 3 months ago
JSON representation

Livewire Multiselect Component

Awesome Lists containing this project

README

        

# Livewire multiselect component

## Requirements
- [Tailwind](https://tailwindcss.com/)
- [Alpine JS](https://github.com/alpinejs/alpine)
- @stack('scripts') in layout blade

## Installation

You can install the package via composer:

```bash
composer require bolyfci/livewire-multiselect
```
## Usage

```html

```

### 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.| || ```:options="$options ?: [] "```|
|**placeholder**|*string*Equivalent to the placeholder attribute on a input. .| select options |```placholder="select options"```|

---

## Testing

```bash
composer test
```

## Changelog

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

## Contributing

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

## Security Vulnerabilities

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

## Credits

- [ahmed abdelaal](https://github.com/ahmedabdelaal)
- [All Contributors](../../contributors)

## License

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.