passing auth user to script data return null
when passing auth user to script data and chechk console it returns null
https://filamentphp.com/docs/3.x/support/assets#registering-script-data
i think this beacuse i put the code inside the app service provider , so i cant access to auth user [ always return null ]
1 Reply
Maybe try using a Closure/callback if allowed? Not sure if that would do anything though...