Vue: input type number accepts `e` character

Created on 3 Aug 2017  路  1Comment  路  Source: vuejs/vue

Version

2.4.2

Reproduction link

https://jsfiddle.net/chrisvfritz/50wL7mdz/

Steps to reproduce

  • Create a new input field with type="number"
  • input e on this field, it will accept it.

What is expected?

Only integers should be accepted in this field.

What is actually happening?

Able to input e which is not a number.

Most helpful comment

>All comments

Was this page helpful?
0 / 5 - 0 ratings