adds keydown event listener which prevents default input behavior if pressed key is either: e, + or -
This issue occurs due to e, - and + are being interpreted as numbers when used in number type input and dispatched as an empty value. Vee-validate doesn't handle this particular use case, more info here: https://github.com/logaretm/vee-validate/issues/1667.
This PR:
keydown
event listener which prevents default input behavior if pressed key is either:e
,+
or-
This issue occurs due to
e
,-
and+
are being interpreted as numbers when used innumber
type input and dispatched as an empty value. Vee-validate doesn't handle this particular use case, more info here: https://github.com/logaretm/vee-validate/issues/1667.