© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
2 replies
Yurikaso

How can I make a multiple selection in a single column?

Hello good morning everyone, I would like to have a column with the data of my 3 services and export it to pdf in an invoice.
My schema
Select::make('servicio_id')
                    ->label('Servicio')
                    ->options(Servicios::all()->pluck('nombre', 'id'))
                    ->searchable()
                    ->multiple(),
Select::make('servicio_id')
                    ->label('Servicio')
                    ->options(Servicios::all()->pluck('nombre', 'id'))
                    ->searchable()
                    ->multiple(),

and I get this error
SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect integer value: '["1","2","3"]' for column `laravel_workshop`.`ordenes`.`servicio_id` at row 1
update `ordenes` SET `servicio_id` = ["1","2","3"], `ordenes`.`updated_at` = 2023-10-10 15:14:46 WHERE `id` = 7
SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect integer value: '["1","2","3"]' for column `laravel_workshop`.`ordenes`.`servicio_id` at row 1
update `ordenes` SET `servicio_id` = ["1","2","3"], `ordenes`.`updated_at` = 2023-10-10 15:14:46 WHERE `id` = 7

the library I use for the invoice (laravel-invoices by PovilasKorop)

Help me please ? jejej kisses
2023-10-10_10h54_16.png
2023-10-10_10h55_13.png
2023-10-10_10h57_42.png
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Show multiple column data in a single table column.
FilamentFFilament / ❓┊help
2y ago
two columns from a single database column
FilamentFFilament / ❓┊help
2y ago
Multiple date selection in datepicker
FilamentFFilament / ❓┊help
3y ago