Form-Associated Custom Elements in Practice
When you make a Web Component for a form element, you’ve got a bit of extra work to do to make sure they participate on the form in expected ways.
When you make a Web Component for a form element, you’ve got a bit of extra work to do to make sure they participate on the form in expected ways.
The typical approach for these inputs is using multiple HTML inputs, one for each character. But is that a good idea?
Credit to Stephen Shaw for the original idea, there is a decently easy way to make an auto-sizing <textarea> element. It is here. But it’s not perfect. There is a frustrating hard-to-replicate iOS bug. Plus it’s just a trick. It requires JavaScript and some pretty specific CSS to pull off. It’s awesome to see the […]
Frontend Masters donates to open source projects through thanks.dev and Open Collective, as well as donates to non-profits like The Last Mile, Annie Canons, and Vets Who Code.