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

Making vue-color work with v-model. #58

Merged
merged 2 commits into from
May 10, 2017
Merged

Conversation

heygambo
Copy link
Contributor

@heygambo heygambo commented May 4, 2017

Changing the event to 'input' will make the component work with v-model.

  • Adding yarn.lock

Docs:
https://vuejs.org/v2/guide/components.html#Form-Input-Components-using-Custom-Events

This way, when using the component, it's possible to only use v-model without @change-color="onChange".

@xiaokaike xiaokaike merged commit 35f2a48 into xiaokaike:master May 10, 2017
@sffc
Copy link

sffc commented Apr 15, 2018

This change broke my application that was written with @change-color. The change is not a bad idea, but it is a breaking change, so according to SemVer, it should have been released along with an update to the major version number, not just a patch number.

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.

None yet

3 participants