elsayed85
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 ]
3 replies
Stripe Checkout Form Field [ view ] , i have problem with render ViewField blade file
Hi , i want to create stripe checkout form inside and action steps form (Cehchk the gist code please)
https://gist.github.com/elsayed85/15ce5edef127ed3c768852649d2ff56d
i already create this :
ViewField::make('stripe')
->view('filament.stripe-checkout-form', [
'client_secret' => $this->client_secret,
'amount' => $this->record->price,
'currency' => config('cashier.currency'),
'name' => $this->record->name,
]),
but my problem with render the view inside the actions steps form [ i think the problem with the js code [ in wrong place ]
8 replies