1

I've noticed that HTML number fields change value when the mouse scrolls within the field. I would like to disable this (ideally without JS). I've found this Disable scrolling on `<input type=number>` but again I would like to accomplish this without any JS. Is there an HTML tag or setting I can use to disable this functionality? Ideally I would like to keep the field as a number as well. Thanks for your help.

Community
  • 1
  • 1
apardes
  • 4,272
  • 7
  • 40
  • 66

0 Answers0