Skip to content

Commit

Permalink
Update UserRelationManager.php (#232)
Browse files Browse the repository at this point in the history
The default value passed should be an array and not a string
  • Loading branch information
tharindarodrigo authored Jan 21, 2025
1 parent f0c2e6f commit 9f62a5b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function table(Table $table): Table

])->headerActions([
AttachAction::make()
->recordSelectSearchColumns(config('filament-spatie-roles-permissions.user_name_searchable_columns', 'name'))
->recordSelectSearchColumns(config('filament-spatie-roles-permissions.user_name_searchable_columns', ['name']))
->recordTitle(function ($record) {
return $record->getAttributeValue(config('filament-spatie-roles-permissions.user_name_column', 'name'));
}),
Expand Down

0 comments on commit 9f62a5b

Please sign in to comment.