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

DTHeaderCheckbox: browser displays the "pointer" cursor when disabled #2635

Closed
nestorrente opened this issue Jun 6, 2022 · 0 comments · Fixed by #2636
Closed

DTHeaderCheckbox: browser displays the "pointer" cursor when disabled #2635

nestorrente opened this issue Jun 6, 2022 · 0 comments · Fixed by #2636
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@nestorrente
Copy link
Contributor

Describe the bug

When the "select all" checkbox is disabled, the browser displays the "pointer" cursor when hovering. This happens because the root div has the p-checkbox class, but not the p-disabled one.

Reproducer

https://codesandbox.io/s/funny-sunset-8nnukx?file=/src/App.vue

PrimeVue version

3.12.6

Vue version

3.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

Any

Steps to reproduce the behavior

Create a table with a "select all" checkbox and no items. The checkbox is disabled, but it still shows the "pointer" cursor when hovering.

Expected behavior

If the checkbox is disabled, the default cursor should be displayed (as it's happening in other components).

@nestorrente nestorrente added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Jun 6, 2022
@tugcekucukoglu tugcekucukoglu added this to the 3.14.0 milestone Jun 14, 2022
@tugcekucukoglu tugcekucukoglu self-assigned this Jun 14, 2022
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

Successfully merging a pull request may close this issue.

2 participants