DEV Community

Discussion on: How to block +,- and e in Number Input

Collapse
 
itsjzt profile image
Saurabh Sharma

I used to cast value to number explicitly using Number(e.target.value).