Skip to content
This repository has been archived by the owner on May 5, 2022. It is now read-only.

space key breaks the integrity #129

Open
rghiglianovich opened this issue Feb 16, 2017 · 0 comments
Open

space key breaks the integrity #129

rghiglianovich opened this issue Feb 16, 2017 · 0 comments
Labels

Comments

@rghiglianovich
Copy link

Description

The space key behaves differentely from the letter keys ,especially if there is no other input value

in particular, if you hit only letters, the modelValue is 0 but if you hit space the value is space (or null?)

Expected outcome

the space key should behave like a letter key

Live Demo

https://jsbin.com/hoputodequ/edit?html,output

Steps to reproduce

  1. type some numbers in the input field and see the correct value in modelValue
  2. double click the input field to select all
  3. hit some letters: the modelValue will be 0 : OK
  4. type some numbers in the input field and see the correct value in modelValue
  5. double click the input field to select all
  6. hit space: the modelValue will be "" : KO

Thanks,
RIc

@rghiglianovich rghiglianovich changed the title "space" key breaks the integrity space key breaks the integrity Feb 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

2 participants