A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/bootstrap-vue/bootstrap-vue/issues/4695 below:

b-form-input formatter not replacing input value · Issue #4695 · bootstrap-vue/bootstrap-vue · GitHub

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4