+ 1

How do i make a text input with drop down list? Check my profile for image posted!

Making text input with drop down list

4th Apr 2020, 2:51 PM
TiNK®
TiNK® - avatar
2 Antworten
+ 2
Just use <datalist> tag with some <option> and link those items via matching id attribute in the <datalist> with list attribute of <input> Here is a simple one. https://code.sololearn.com/Wgu1EZ4MaD7B/?ref=app
4th Apr 2020, 11:24 PM
【𝓪𝓈𝒽𝓴𝓪ℕ♦ℝ𝓪𝓷𝒿𝓫𝓪𝓇】
【𝓪𝓈𝒽𝓴𝓪ℕ♦ℝ𝓪𝓷𝒿𝓫𝓪𝓇】 - avatar
0
Use the select tag, with the option tag nested in the select tag to list each item.
4th Apr 2020, 11:30 PM
Emmanuel
Emmanuel - avatar