I want use local storage js in afterStateUpdateJs() filament have defaultJs()
I want use local storage js in afterStateUpdateJs() filament have defaultJs()
5 Replies
No, there's no
->defaultJs()
. You might be able to hack something together via the ->extraAttributes()
. Or just create a custom component.hummm, how to use
->extraAttributes()
to add default state using browser local storage?
Currently I'm using season()
& ->afterStateUpdate()->default()
,belowContent() can use JS?
i want use
->afterStateUpdateJs()
counting character input in below content. I didnt want update into server only feature character count.
belowContent() can use JS?Yes. You can use
JsContent
owh okay i will try. Thanks ❤️ . I hope can fill value input using local storage -_-,