You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a component using vue slider, I use @change event to emit the new value to the parent component,
when I log the value in @change event I note that the new value is the last one not the current and the value emmited not correct (the last) , but when I print it in a div is correct, I don't know If I have a mistake in my logic
Just ran into the same problem (in vue3) and it seems the change event is fired before the model value is updated. As a workaround you can listen for the update:modelValue event instead.
I have a component using vue slider, I use
@change
event to emit the new value to the parent component,when I log the value in
@change
event I note that the new value is the last one not the current and the value emmited not correct (the last) , but when I print it in adiv
is correct, I don't know If I have a mistake in my logicreproduction url (see the console)
The text was updated successfully, but these errors were encountered: