July 26, 2019 03:02 pm GMT
Original Link: https://css-tricks.com/datalist-is-for-suggesting-values-without-enforcing-values/
Datalist is for suggesting values without enforcing values
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 enforcing values appeared first on CSS-Tricks.
Original Link: https://css-tricks.com/datalist-is-for-suggesting-values-without-enforcing-values/
Share this article:
Tweet
View Full Article