andrewdwallo / filament-selectify

Two alternative fields for toggles, radio buttons, and other selectors.
MIT License
36 stars 6 forks source link

[FEATURE] Multi select #12

Closed andreazanini closed 8 months ago

andreazanini commented 8 months ago

What happened?

I would like to have multiselect like the default Filament Select, but at the moment is not supported. Since i'm registering trough a relation this would be really helpful.

now I use this Select::make('categories')->multiple()->relationship(titleAttribute: 'name')->preload(),

this should become ButtonGroup::make('categories')->options(Category::all()->pluck('name','id'))->onColor('primary')->offColor('gray')->multiple()

How to reproduce the bug

Feature request

Package Version

3.0.0

PHP Version

8.1.21

Laravel Version

10.40.0

Which operating systems does with happen with?

No response

Notes

No response

andrewdwallo commented 8 months ago

Please move this into a Discussion as this is not a bug. You can now make a Feature Request here.