-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
b-form-input formatter not replacing input value #4695
Closed
NikoFoX opened this issue
Jan 29, 2020
· 0 comments
· Fixed by #4701, tghelere/CL#13, mariazevedo88/hash-generator-js#33, tghelere/CL#14 or mariazevedo88/hash-generator-js#34
Closed
b-form-input formatter not replacing input value #4695
NikoFoX opened this issue
Jan 29, 2020
· 0 comments
· Fixed by #4701, tghelere/CL#13, mariazevedo88/hash-generator-js#33, tghelere/CL#14 or mariazevedo88/hash-generator-js#34
Labels
Comments
20 tasks
Merged
jacobmllr95
added a commit
that referenced
this issue
Jan 30, 2020
closes #4695) (#4701) * fix(form-input/form-textarea): properly handle out-of-sync values * Update form-text.js * Update form-text.js Co-authored-by: Troy Morehouse <[email protected]>
This was referenced Feb 24, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This bug was also described by closed issue: #3259
Describe the bug
When using b-form-input component with formatter to replace string (e.g. strip any non-numeric character) - it doesn't replace it.
Steps to reproduce the bug
If you type anything other than number, it will be typed into the input anyway.
If you again type anything other than number (but not the same char) - it will replace the last char.
If you type the same 3 non-numeric chars - 2 of them will stay.
Expected behavior
It should't allow chars to be put into the input (should be stripped instead).
Versions
Libraries:
Demo link
https://codepen.io/qElectro/pen/jOEoZGx
The text was updated successfully, but these errors were encountered: