8000 multiple mode - add/remove actions to support vuex strictmode by eriknygren · Pull Request #702 · sagalbot/vue-select · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

multiple mode - add/remove actions to support vuex strictmode #702

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

Conversation

eriknygren
Copy link
Contributor

What

  • In multiple mode: Update adding or removing a value to use
    spread operator or filter, instead of mutating the array directly.
    This makes it play nicely with :value="value" @input="onChange" pattern

Why

So vuex strict mode doesn't throw warnings.

#529

@eriknygren eriknygren changed the title multiple mode - add/remove support vuex strictmode multiple mode - add/remove actions to support vuex strictmode Nov 9, 2018
@renaud-dev
Copy link

@eriknygren thank you for this fix :)
Any news about a possible merge ?

@eriknygren eriknygren force-pushed the vuex-strict-mode-support-for-multiple-mode branch from babcfe8 to 3e3fb18 Compare November 14, 2018 13:30
What
---
- In multiple mode: Update adding or removing a value to use
spread operator or filter, instead of mutating the array directly.

Why
---
So vuex strict mode doesn't throw warnings.
@eriknygren eriknygren force-pushed the vuex-strict-mode-support-for-multiple-mode branch from 3e3fb18 to ec2c725 Compare November 14, 2018 13:31
@eriknygren
Copy link
Contributor Author

@renaudaste no worries! No news I'm afraid for now. It depends on whenever @sagalbot is around to review/merge.

@ghanbari
Copy link

any news about merge ?

@sagalbot sagalbot merged commit d8635e7 into sagalbot:master Feb 11, 2019
@sagalbot sagalbot added this to the v3.0 milestone Feb 11, 2019
@sagalbot sagalbot self-assigned this Feb 11, 2019
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
0