F
Filament2mo ago
arif

How to display a lot of data (40.000+) into a select dropdown?

Do you have any input? This is the first time I've executed this much data, I don't have experience or good query management yet. Can you guys help me? If I limit it, of course the data will appear. But if I display everything, the web page will take a very long time to load.
No description
No description
5 Replies
Tally
Tally2mo ago
with ->searchable
krekas
krekas2mo ago
your whole select is wrong. there shouldn't be callable $get, don't know where you got that from. chatgpt? when doing pluck you also must return the id
Vp
Vp2mo ago
callable $get is there, it's working.. actually it's a v2 thing IIRC
krekas
krekas2mo ago
shouldn't be used in v3
Want results from more Discord servers?
Add your server
More Posts
Get Relation Fieldset State / Set Outside State in Relationship FieldsetForm resources that have fieldset relationship, how to get state that fieldset on outside? just forColorPicker Required BugGuys, I'm trying to use a color picker inside a Custom Livewire Page, using a form from Filament, aHow to get $data in Tables\Actions\CreateAction::make()?I used to get the $data in the form using ->before(function (RelationManager $livewire, array $data,FileUpload::make()->directory('my/secret/sauce') Don't save full URL in DBI have an existing DB, that stores just the file name for image_loc. 'user1.png' is in my DB. NoIs it no longer possible to call Vite in the Panel Providers asset method?I was getting an exception when a fresh install runs `@php artisan package:discover --ansi` ``` IllCreate a custom field with two fields (downloadable)How can i create a custom field that contains a field for title and a upload field to use inside as display null values as 'null'I have a table widget, where I want to display unconfirmed users. How can I display the string 'nullShow a list of options based on another fieldHello devs, how can I show a list of options with Select based on another select element? ```SelectValidating Signed Route RequestsWhen using filament forms on a livewire component and submitted, how do we verify that the request hHow can the resource query be modified on an Infolist page?Hi, When loading a resource, the standard `select` uses *. On a table page, I can use `modifyQueryU