DEV Community

loading...

Discussion on: Correct HTML structure for 2 inputs controlling a single value?

Collapse
georgedoescode profile image
George Francis Author

Oh cool! Thanks so much for the link James :) I'll definitely check that out.

I'm definitely with you on the 1-input-1-job thing, but for my use case here it's not exactly a form, it's a control for graphic design software and I think the integer & slider input could be helpful for some folks (I use Framer a lot and this is a pattern they use a bit)

Perhaps it could be good to dynamically display one of the inputs if a user needs it 🤔

Always a pleasure!