Hi folks, how are you holding up? I hope you’re doing good. In this blog, I’m gonna share some properties about the <input> tag that I wish I...
For further actions, you may consider blocking this person and/or reporting abuse
Wow I didn't know about autofocus!
Now, you know! 😁
Autocomplete aren't necessary for all inputs, like writing comments, blogs. You don't want autocomplete option. Otherwise, its good to have, I guess.
Thanks for sharing your insights btw :)
What's the difference between using select tag and the last point above ?
In the input tag, you have a writing space. Here, you can choose the option or type to get the closest option available in the list.
Whereas, in select tag, you only have the option to choose from the list.
Autocomplete=off * (without dash, developer.mozilla.org/en-US/docs/W...)
Thank you for sharing, I will correct this out in the article 😄
Not to confuse anyone 🤝
🤝Cheers!
I love the datalist option. If you don't care about the appearance of the datalist, then it would be a faster alternative to using the framework library code to accomplish the same goal
True!! You could also give select tag a try :)
The reason I mentioned the datalist was for the autocomplete functionality though
Gotcha, then datalist is the only option. Then if UI does'nt match your needs, using frameworks is the best option as you said Justin. 🙂
Gotcha 👍, will keep in mind!
Great tips!
Glad you liked it! 😊
Very usefull, thank you!
Glad you liked it :)
I didn't know about data list ! This must help me safe lot of code.
Thanks!! ❤️
Anytime! 🥰