F
Filamentβ€’7mo ago
Sidem

retrieve information from a View in the form

Hi, in my filament form, I display a view: View::make('forms.components.createProduct') In this view I have a <form> and <inputs> which each have a different name and I would like to know if you have an idea of ​​how to retrieve the information from these inputs in my model with the create() function i try :
public static function create($data){
$request = new Request;
$quantity = $request->input('products_quantity_1');
dd($quantity);

//dd($request) is empty
public static function create($data){
$request = new Request;
$quantity = $request->input('products_quantity_1');
dd($quantity);

//dd($request) is empty
thanks πŸ™‚
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server