Route::post('/search/all/', function (Request $request) {
//...
$products = $query->paginate(15);
$data = ['products' => $products,
'oldinput' => $request->all()];
return view('inventory.search_products', $data);
});
in the view:
this works:
<input type="text" id="search_all" name="search_all" value="">
this is always empty:
<input type="text" id="search_all" name="search_all" value="">
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire