Download the PHP package madzee-m/moonshine-tom-select without Composer
On this page you can find all versions of the php package madzee-m/moonshine-tom-select. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download madzee-m/moonshine-tom-select
More information about madzee-m/moonshine-tom-select
Files in madzee-m/moonshine-tom-select
Package moonshine-tom-select
Short Description Tom select for MoonShine
License MIT
Homepage https://moonshine-laravel.com
Informations about the package moonshine-tom-select
Tom select field for MoonShine Laravel admin panel
Compatibility
MoonShine | Moonshine Tom select | Currently supported |
---|---|---|
>= v3.0 | >= v1.0.0 | yes |
Installation
Usage
Данное поле полностью совместима с текущим основным полем MoonShine, поэтому можно сделать так, для быстрой интеграции:
Также вместо BelongsTo
и BelongsToMany
можно воспользоваться
И точно также для быстрой интеграции, можно сделать:
Plugins
The addPlugins()
method allows you to add new plugins to the default plugins
Official plugins: https://tom-select.js.org/plugins
Вы можете создавать собственные плагины.
Full documentation: https://tom-select.js.org/docs/plugins
Settings
Этот settings()
метод разрешает использовать все пользовательские настройки
Все доступные настройки: https://tom-select.js.org/docs/#general-configuration
Для всех именных настроек, есть очень удобный метод fieldNames()
Для дополнительной настройки асинхронности, можно воспользоваться методом asyncSettings()
Этот asyncOnInit()
метод теперь поддерживает "Загрузчик", после открытия селекта
С этим
multiple()
методом автоматически задается поиск, если хотите отключить, просто указываемwithoutSearchable()
после метода
All versions of moonshine-tom-select with dependencies
ext-curl Version *
ext-json Version *