When creating a new item, the field for the quantity was set as number, but some browsers like Chromium do some funky things with that, so I changed it to text type, after all the validation is done at model level