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, MultiSelect, Listbox option that has disabled property is not disabled #1936

Closed
vrinceanuv opened this issue Apr 5, 2021 · 0 comments
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@vrinceanuv
Copy link

vrinceanuv commented Apr 5, 2021

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

[x] bug report
[ ] feature request
[ ] support request

Codesandbox Case (Bug Reports)
This was working in 6.1.0
This stopped working in 6.2.0 and it is not working in 6.2.1
https://codesandbox.io/s/xenodochial-swirles-8diri

Current behavior
Dropdown option that has property disabled set to true is not disabled and can be clicked. After the click the dropdown closes without any option selected.

Expected behavior
Dropdown model option that has property disabled is disabled and cannot be clicked.

Minimal reproduction of the problem with instructions

Please tell us about your environment:
It makes no difference, no offence

  • React version:
    17

  • PrimeReact version:
    ^6.2.1

  • Browser: [firefox | chrome]

  • Language: [ES6/7 | ES5]
@mcandu mcandu self-assigned this Apr 6, 2021
@mcandu mcandu added the Type: Bug Issue contains a defect related to a specific component. label Apr 6, 2021
@mcandu mcandu added this to the 6.2.2 milestone Apr 6, 2021
@mcandu mcandu changed the title Dropdown option that has disabled property is not disabled Dropdown, MultiSelect, Listbox option that has disabled property is not disabled Apr 6, 2021
@mcandu mcandu closed this as completed in ce0ad69 Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

No branches or pull requests

2 participants