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

UButton disabled doesnt work with 'to' attribute #1320

Closed
icepick4 opened this issue Feb 5, 2024 · 0 comments · Fixed by #1321
Closed

UButton disabled doesnt work with 'to' attribute #1320

icepick4 opened this issue Feb 5, 2024 · 0 comments · Fixed by #1321
Labels
bug Something isn't working

Comments

@icepick4
Copy link

icepick4 commented Feb 5, 2024

Environment

  • Operating System: Windows_NT
  • Node Version: v20.10.0
  • Nuxt Version: 3.10.0
  • CLI Version: 3.10.0
  • Nitro Version: 2.8.1
  • Package Manager: npm@10.2.3

Version

2.13.0

Reproduction

https://stackblitz.com/edit/nuxt-ui-kdfnay

Description

When a UButton has 'to' attribute and 'disabled' attribute, the disable doesnt work, if you click, you are redirect no matter the value of disabled. And the UI is not as expected (no cursor changing + no bg color changing on hover)

Additional context

Maybe this behavior is expected but in that case this is not documented.

Logs

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant