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

Disable individual options #680

Closed
wants to merge 4 commits into from

Conversation

anzorasadov
Copy link

@anzorasadov anzorasadov commented Oct 14, 2018

Added a possibility to disable individual options rather than the whole Select element.

Usage:

<v-select
  ref="select"
  :options="[{label: 'foo', value: 'foo', disabled: true},{label: 'bar', value: 'bar'}]"
></v-select>

in this example the option foo will be disabled

@anzorasadov anzorasadov changed the title Feat/disable option Disable selected options Oct 16, 2018
@anzorasadov anzorasadov changed the title Disable selected options Disable individual options Oct 16, 2018
@anzorasadov
Copy link
Author

@sagalbot I am not sure what is wrong with the deployment script. But it seems like all the recent PRs are experiencing the same issue.

@jtpdev
Copy link

jtpdev commented Dec 28, 2018

@anzorasadov I have the same problem with my pull request. And I need your funcionality too.

@gr8bit
Copy link

gr8bit commented Jan 6, 2019

Please do not let this very useful feature hang here @sagalbot <3

Edit: I just saw #309 implemented this already in 2017, it even had author feedback. Currently merge fails. :( Maybe @anzorasadov could give #309 some attention as he knows the feature best?

@anzorasadov
Copy link
Author

I don't like the idea myself, but I guess I'd suggest you guys just check out my repo for now until @sagalbot has helped me out here, if that is an option for you :)

@vargasroger
Copy link

Hello there, this is a cool feature. We kind need this here.
It seems this PR is forgotten.

@sagalbot If is there a way to help let me know.

@sagalbot
Copy link
Owner

sagalbot commented Feb 9, 2020

This issue should've been closed with v3.3. The selectable prop allows for this functionality.

https://vue-select.org/guide/selectable.html#selectable-prop

@sagalbot sagalbot closed this Feb 9, 2020
@sagalbot
Copy link
Owner

sagalbot commented Feb 9, 2020

Related #921.

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

5 participants