Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
public function autocomplete()
{
return view('panel.dashboard');
}
public function instantSearch(Request $request)
{
$customers = Customers::where('FirstName','LIKE',$request->instantSearch.'%')->get();
return response()->json($customers);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment