Open bpudenz opened 9 months ago
The options for searchable & multi-selects are loaded after the initial page load. This is to reduce the initial page loading time. The options are not required until the user clicks on the dropdown, but we preload them so this process is faster.
Is there a way to opt out of preloading them? We have multi-selects on many pages, and loading a full page component a second time for all users so that a select box most users don't interact is ready on click seems unreasonable.
I will look into it, but not guaranteeing anything.
Package
filament/tables
Package Version
v3.1.35
Laravel Version
v10.39.0
Livewire Version
v3.3.5
PHP Version
PHP 8.2
Problem description
Adding ->multiple() to a SelectFilter causes an extra livewire call on the first page hit. Comment it out and the POST to livewire does not happen.
Expected behavior
I would expect a single GET request unless a change is made.
Steps to reproduce
Comment out a single line of code
->multiple()
on a SelectFilter.Reproduction repository
https://github.com/bpudenz/filter-issue
Relevant log output
No response
Donate 💰 to fund this issue