Bug (visual): RelationManager AssociateAction multiple select field selected options disappear

Couldnt find anything on Google/Github related. Dont really know where to go from here. " Tables\Actions\AssociateAction::make() ->multiple() ->recordSelectSearchColumns(['awb']) ->preloadRecordSelect() ->recordSelect(fn ($select) => $select ->options($orderQuery->get()->pluck('title', 'id')) ->getSearchResultsUsing(fn ($search) => $orderQuery->where('awb', 'like' ,"%$search%")->get()->pluck('title', 'id')) ) ->associateAnother(false) ->successRedirectUrl(fn ($record) => self::getUrl('view', ['record' => $record])) ->action(function ($data) use ($getOwnerRecord, $relationship) { $getOwnerRecord->{$relationship}()->syncWithoutDetaching($data['recordId']); $getOwnerRecord->touch(); }) , " Using v3.2
1 Reply
awcodes
awcodes3mo ago
maybe, ->options(fn () => $orderQuery->get()->pluck('title', 'id'))?
Want results from more Discord servers?
Add your server