F
Filament14mo ago
rubendn

Function after selecting from datalist in TextInput

Is there a way to run a function after selecting an option from a dynamically created datalist in a TextInput? This is the scenario: I have three TextInputs: FirstName, LastName, Suffix When the user starts typing in the FirstName field, I want to return a datalist of current FirstName+LastName+Suffix from the database for them to choose. I think I can do this using a function in the datalist of FirstName. What I want to do next is fill in the FirstName, LastName and Suffix fields based on the selection from the datalist in FirstName. I don't want to use Selects because I want the user to easily add new values to the fields. Thanks!
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server