F
Filament9mo 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
Tally9mo ago
with ->searchable
krekas
krekas9mo 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
Vp9mo ago
callable $get is there, it's working.. actually it's a v2 thing IIRC
krekas
krekas9mo ago
shouldn't be used in v3

Did you find this page helpful?