autofocus() not working
Hello,
I have this on a resource class:
I have a page action on the list resource page for creating new resources that uses the pre-defined CreateAction class. could that be preventing it? let me know if you need more info, cheers.
1 Reply
both create and edit actions produce modal forms as intended, just the autofocus isn't focusing
My solution on a custom component that uses filament forms is this:
however trying to do it on a panel page doesn't seem to work the same way. I feel like it has something to do with the lifecycle hooks timing?