AncientFriend
AncientFriend
FFilament
Created by Noreh AD on 11/17/2023 in #❓┊help
Listing large table is slow
https://laravel.com/docs/10.x/pagination#simple-pagination here is the laravel docs on simple paginate hope that helps 😄
34 replies
FFilament
Created by Noreh AD on 11/17/2023 in #❓┊help
Listing large table is slow
34 replies
FFilament
Created by Miguel García on 10/11/2023 in #❓┊help
Select afterStateUpdated does not fire when selection is cleared
I think the problem here is that if you don't have a ->live() on the second input, by default you defer the update (e.g. send update on next roundtrip). Now you get ONE! update roundtrip in the backend and it evaluates all your input updates sequentially, e.g. first the input that is above the lower one. So you get the ->afterStateUpdated() from your select, it sets the state of the lower input. And after that, the update of the lower input overrides the changes done by your ->afterStateUpdated method of the upper one. If you change the order of the inputs (e.g. have the select below the input field), it should work as expected, as the Select ->afterStateUpdated() method is evaluated after the textInput state update. On the other hand, your fix with ->live() (or ->lazy()) will work as they send individual roundtrips to update the backend state. hope that helps 🙂
25 replies
FFilament
Created by AncientFriend on 11/2/2023 in #❓┊help
Filament forms createOptionForm
4 replies
FFilament
Created by AncientFriend on 7/3/2023 in #❓┊help
Support for external relationship
but was enough a few hours ago ... tbh im back at the problem by now and dont really know how to go about it 🙂
4 replies
FFilament
Created by AncientFriend on 7/3/2023 in #❓┊help
Support for external relationship
i for now just worked around it with placeholder()->content fields wich is not exactly a fix
4 replies