Datalist is for suggesting values without enforcing values

1 · CSS-Tricks · July 26, 2019, 4:15 p.m.
Have you ever had a form that needed to accept a short, arbitrary bit of text? Like a name or whatever. That's exactly what <input type="text"> is for. There are lots of different input types (and modes!), and picking the right one is a great idea. But this little story is about something else and applies to any of them. What if the text needs to be arbitrary (like "What's your favorite color?") so people can type in whatever, … Read article The post Datalist is for suggesting values without en...