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

p-multiSelect disabled option still possible to select #6422

Closed
leonardolessa opened this issue Aug 29, 2018 · 1 comment
Closed

p-multiSelect disabled option still possible to select #6422

leonardolessa opened this issue Aug 29, 2018 · 1 comment
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@leonardolessa
Copy link

I'm submitting a ... (check one with "x")

[x ] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Plunkr Case (Bug Reports)
I've tried to use the issue template but for some reason it was giving me error that options was not an attribute of p-multiSelect.

Current behavior
the SelectItem api has an option to disable (disabled property) but in the multiselect component is just visually disabled, but you can still click in the checkbox and change its selection.

Expected behavior
Block the option so it's not possible to select or "unselect".

Minimal reproduction of the problem with instructions
Just create an multiselect and disable one of the options, you can still change its value although its visually disabled.

@cagataycivici cagataycivici self-assigned this Aug 30, 2018
@cagataycivici cagataycivici added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Aug 30, 2018
@cagataycivici cagataycivici added this to the 6.1.3 milestone Aug 30, 2018
@leonardolessa
Copy link
Author

Thanks @cagataycivici

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

2 participants