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.
rn_image_picker_lib_temp_14bb23ba-0fee-46b2-8679-a3316f2abf76.jpg
Solution
you can use dataList
Was this page helpful?