->recordSelect( fn (Select $select) => $select->getSearchResultsUsing(function(string $search): array { return User::where('name', 'like', "%{$search}%")->limit(50)->pluck('name', 'id')->toArray()); }), )