-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
InputNumber v-model not updating on @input #865
Comments
I think this is on purpose due to nature of the component, @mertsincan can you please comment. |
If it's done on purpose I would like to request a way to enable the functionality, perhaps by a setting. Otherwise when you use the InputNumber with other controls that require the v-model field value to calculate financials will not work. Example: Thanks. |
Hi, Please see this enhancement;
|
You could've added a lazy/eager option for that though. Just because of this missing simple feature I have to change the whole component library now, my project is entirely based on this functionality. |
Yes, it's really annoying. |
Here is a temporary fix I have found myself using via the keyup event. Not tested in any way, just suitable for my simple input but perhaps not all hope is lost.
I think that an option for lazy updating of the model on change is really necessary, not sure who to tag to bring attention to it. |
I am using PrimeView 3 (version 3.1.2) with Vue 3 and the v-model is not being updated on @input as the user is typing in the numbers.
HTML purchasePrice original value is 100,000:
Script:
Log: As you type in the numbers
125,000
the result is still the original value of100,000
not125,000
:Any ideas on why it's not working? It seems the v-model is not being updated.
Thank you
The text was updated successfully, but these errors were encountered: