Download the PHP package icetalker/filament-picker without Composer
On this page you can find all versions of the php package icetalker/filament-picker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download icetalker/filament-picker
More information about icetalker/filament-picker
Files in icetalker/filament-picker
Package filament-picker
Short Description A Regular Picker for Filament Form
License MIT
Homepage https://github.com/icetalker/filament-picker
Informations about the package filament-picker
A Regular Picker for Filament Form
A Regular Picker for Filament Form.
Installation
You can install the package via composer:
Optionally, you can publish the views using
Usage
Define Options
To define options, you can use the options()
method and pass an array of key-value pairs. The key will be the value of the option, and the value will be the label to be displayed.
Add Icons
To add icons, you can use the icons()
method and pass an array of key-value pairs. The key will be the value of the option, and the value will be the icon to be displayed:
Add Images
To add images, you can use the images()
method and pass an array of key-value pairs. The key will be the value of the option, and the value will be the image url to be displayed:
The size of images is 50x50 by default, you can custom the size of images by using the imageSize()
method and pass the size in pixels.
Default Value
To set a default value, you can use the default()
method and pass the value of the option:
Todo
- Add Relationship Support
- Add Validation
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
- Martin H
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of filament-picker with dependencies
spatie/laravel-package-tools Version ^1.14.0
illuminate/contracts Version ^10.0|^11.0
filament/forms Version ^3.0