Filament Action: Select field value missing from $data when using multiple()
Hi everyone,
I’m running into an issue with a Filament Action form.
I have a Select field inside the action. When the Select is set to multiple, the selected values do not appear in the $data array after submitting. However, if I remove ->multiple(), the value is included in $data as expected.
The TextInput fields in the same form work fine and their values are present in $data.
Here’s what I mean:
With ->multiple() enabled: $data does not contain the select field.
Without ->multiple(): the value is included correctly in $data.
I dumped the $data after submission and here’s the result (screenshot attached):
this is the code:
My question: What am I missing? Is there something special I need to configure for Select::make()->multiple() so that its data is included in $data?
Thanks in advance!

Solution:Jump to solution
the relationship function is the culprit, I think they handle the saving elsewhere, try removing it and add some hardcoded options and they should appear in the dd
2 Replies
Solution
the relationship function is the culprit, I think they handle the saving elsewhere, try removing it and add some hardcoded options and they should appear in the dd
thanks man now it shows
