How can i search for an id and if you click search it will display its information in textbox
here is my sample search input box
<input type="text" class="form-control" placeholder="Search for..." aria-label="Search" aria-describedby="basic-addon2">
<div class="input-group-append">
<button class="btn btn-primary" type="button">
<i class="fas fa-search"></i>
</button>
</div>
here is a sample of my view textbox input
{{Form::text('employee_no', '',['class' => 'form-control', 'placeholder' => 'Employee No.'])}}
{{Form::text('last_name', '',['class' => 'form-control', 'placeholder' => 'Last Name'])}}
here is a sample of my controller
$employeeFileMaintenance = new Employeefm;
$employeeFileMaintenance->employee_no = $request->input('employee_no');
$employeeFileMaintenance->last_name = $request->input('last_name');