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

Dropdown optionDisabled is not working #1037

Closed
std810901 opened this issue Mar 2, 2021 · 4 comments
Closed

Dropdown optionDisabled is not working #1037

std810901 opened this issue Mar 2, 2021 · 4 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working vue2
Milestone

Comments

@std810901
Copy link

When I set the "optionDisabled" of the Dropdown to be disabled, although the CSS style is disabled, the option can still be selected.
It just set the class "p-disabled",didn't prevent users from selecting.

@cagataycivici cagataycivici added the Status: Discussion Issue or pull request needs to be discussed by Core Team label Mar 2, 2021
@cagataycivici
Copy link
Member

I'm unable to replicate, please fork the link below and provide a case that reproduces the issue.

https://codesandbox.io/s/ittu5

@std810901
Copy link
Author

I use vue 2 & primevue ^2.0.0 to develop,but it is ok in vue 3
image
image

@cagataycivici cagataycivici added this to the 2.4.1 milestone Mar 10, 2021
@cagataycivici cagataycivici added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working vue2 and removed Status: Discussion Issue or pull request needs to be discussed by Core Team labels Mar 10, 2021
@cagataycivici
Copy link
Member

Ok, we'll check for vue 2 branch then.

@codenomnom
Copy link

@cagataycivici @tugcekucukoglu I don't think this is a proper fix. Please check #1192 (comment)

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 vue2
Projects
None yet
Development

No branches or pull requests

4 participants