🌐 AI搜索 & 代理 主页
Skip to content

b-form-input formatter not replacing input value #4695

@NikoFoX

Description

@NikoFoX

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:

  • BootstrapVue: 2.3.0

Demo link

https://codepen.io/qElectro/pen/jOEoZGx

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions