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

Get disabled options #200

Closed
squareclouds opened this issue Nov 7, 2022 · 5 comments
Closed

Get disabled options #200

squareclouds opened this issue Nov 7, 2022 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@squareclouds
Copy link

hello and thanks for this really cool tool. somehow the functionality to retrieve the disabled values is missing, though, and i cant find a workaorund. is there an easy way to get to the variable?

@sa-si-dev
Copy link
Owner

@squareclouds May I know why do you want to get disabled values?

@squareclouds
Copy link
Author

@sa-si-dev of course. i was creating a sync logic between virtual-selects. so if you select something in one of them, you disable that one option in the other ones. its been a couple of days to give you a more detailed info, but that was the core idea of it. and since i dont create the options via JS but directly as HTML (PHP) and only initialize the selects via JS it would be easier to know which values are disabled in each one of them.

@sa-si-dev
Copy link
Owner

@squareclouds thanks for the explanation. I will add a method to get disabled options.

@sa-si-dev sa-si-dev self-assigned this Dec 2, 2022
@sa-si-dev sa-si-dev added the enhancement New feature or request label Dec 2, 2022
@sa-si-dev
Copy link
Owner

@squareclouds this feature has been implemented in the release v1.0.36

Use getDisabledOptions() method

@squareclouds
Copy link
Author

perfect, thank you for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants