Drop-down in text input
TextInput::make('assign_to')
->label('Assign to')
->placeholder('Enter Employee Name')
->required()
->reactive()
->extraAttributes([
'class' => 'create-audit-form'
])
I want to add a feature such that whenever we click in textinput....first it should load a dropdown in that dropdown we have data coming from backend and when we type in textinput it should search the name in that list and when user selects the name it should be available in textinput. Just like the below image.

6 Replies
Solution
you can use dataList
Otherwise why not just use a select list?
I want to implement the drop-down in text input, like when user clicks on the field...first drop down should appear.Can we achieve this ?
Did you see my datalist comment?
It doesn't help if you just repeat your question.
Sorry.
Implemented the datalist approach and working fine now.
Thanks @toeknee @Dennis Koch