Skip to content

fix: use Vue component instead of input in v-model section #304

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

Merged
merged 2 commits into from
Jul 26, 2020

Conversation

damianstasik
Copy link
Contributor

Using v-model with input is still the same as in Vue 2, this was changed only when using with Vue components.

@NataliaTepluhina NataliaTepluhina requested a review from znck July 21, 2020 05:41
modelValue: this.modelValue,
'onUpdate:modelValue': value => this.$emit('onUpdate:modelValue', value)
'onUpdate:modelValue': value => this.$emit('update:modelValue', value)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😆 I stumbled on this yesterday, API docs saved me.

Copy link
Member

@NataliaTepluhina NataliaTepluhina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@visualfanatic thank you for making this fix!

@NataliaTepluhina NataliaTepluhina merged commit c44d36f into vuejs:master Jul 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants