Skip to content
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

Forms: InputNumber inside FormField requires extra keypress for input when validation error is visible #6727

Closed
jsodeman opened this issue Nov 4, 2024 · 1 comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@jsodeman
Copy link

jsodeman commented Nov 4, 2024

Describe the bug

When an InputNumber is wrapped in a FormField and the validation error is visible, you have to press a key twice to get the key to input into the field. For example pressing "55" to get "5".

If the validation error isn't already visible then the input works as expected.

Reproducer

https://stackblitz.com/edit/hlkqty?file=src%2FApp.vue

PrimeVue version

4.2.1

Vue version

4.x

Language

ES6

Build / Runtime

Vite

Browser(s)

No response

Steps to reproduce the behavior

Go to the linked stackblitz

type a single digit into the field, the validation error will disappear but the number won't be set

type a second digit, this digit will appear in the input

Expected behavior

No response

@jsodeman jsodeman added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 4, 2024
@tugcekucukoglu
Copy link
Member

Reference issue: #506

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

2 participants