Event return null value when user enter decimal on input type number

前端 未结 2 987
误落风尘
误落风尘 2021-01-28 11:16

Edit working on Firefox, only Chrome bug (and maybe others)

I try to get all event from a simple

2条回答
  •  梦谈多话
    2021-01-28 12:12

    i think it is issue with type of input field, decimal point (the dot) is not a number but it is necessary for numbers, so i guess it is the glitch in the matrix.

    here is a fiddle where type is text and it is working fine.

提交回复
热议问题