Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

dystcz/lunar-multiselect

Repository files navigation

Multiselect field type for Lunar

Latest Version on Packagist Total Downloads GitHub Actions

Multiselect field that allows saving of multiple values at once. Multiselect options are filled the same way as the Dropdown field which is already in the core.

Archivation notice

This project is useless with the release of Lunar 1.0 as field types will be handled differently in Filament. You can still use this package with older Lunar versions.

Installation

You can install the package via composer:

composer require dystcz/lunar-multiselect

Usage

Just require this package and the multiselect field will appear in the Lunar admin hub. It registers itself automatically.

TODO

  • Find out how to solve the @wireUiScripts problem (where to include the script)
  • Make select configurable with all its options
  • Do not rely on WireUI for the multiselect component (can be used to skip first todo)
  • Unit tests

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email jakub@dy.st instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.