glicthing when using after state updated to update different fields
I’m not sure why, but something weird is happening. I want whatever I type in Name to show up in Slug automatically. But when I try to type in Address, it keeps getting erased on the address — like Filament is updating it and overwriting what I type.
11 Replies
sample code .

I don’t understand the issue from your video. You say „when you type into B it gets erased“ but you don’t type in B because it’s disabled?
I mean . after I typing something on textInput name, then I go to address field and write something, it gets remove due to afterStateUpdated .
@Dennis Koch .
Ah, I think this is a general Livewire issue when the response takes too long and the user inputs to fast.
I try it on demo filament site, on create category .
there was no problem there. 😅 . when I try to type to fast , or using 3g network .
still working well .
What systme are you using it on? It will likely be your system that's slower in that instance
The more fields on the page too causes slower responses too, no caching, if debug mode is on, views with debug bar etc
Right now just on localhost and using herd .. I am using macbook m3 pro machine right now .
Should be very fast then
Use telescope and review the network requests
Thanks !
do you have any idea why this still works on 3g network ?
Because the payload is likely less so a simple low request wouldn't effect the operation of a good optimised request