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
{{ message }}
This repository has been archived by the owner on Jun 10, 2023. It is now read-only.
A quick look into slider.vue shows that valueNumber indeed only has a getter defined like so:
valueNumber(){returnNumber(this.value)},
From a quick google search it is my understanding that if a computed property is used with v-model, as is the case with valueNumber, it must have a corresponding setter.
Therefore my suggested fix is to simply add a setter for valueNumber.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When I add a slider to my Vue component as shown in the docs I get the following
warning:
Sample component:
A quick look into
slider.vue
shows thatvalueNumber
indeed only has a getter defined like so:From a quick google search it is my understanding that if a computed property is used with
v-model
, as is the case withvalueNumber
, it must have a corresponding setter.Therefore my suggested fix is to simply add a setter for
valueNumber
.The text was updated successfully, but these errors were encountered: