AttachAction select contains no label

I have a many to many relationship with a join table of table1_id and table2_id, but in the AttachAction select dropdown there are no labels, how can I set them?
The only code I use is Tables\Actions\AttachAction::make()
If I change it to use a custom form, I can see my labels, but it throws an error undefined array key recordId when I submit it
[
            Select::make('quality_control_step_id')
                ->multiple()
                ->preload()
                ->relationship('machineCenters.qualityControlSteps', titleAttribute: 'name')
                ->required()
        ];


Without using my own form, it works and I can attach, but I see nothing. If I start to search, it comes back with options, but they all say quality control step
image.png
Was this page helpful?