-
Notifications
You must be signed in to change notification settings - Fork 921
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Environment
- Node: 18.20.4
- Vue: 3.4.34
- Nuxt: 3.12.4
- Nuxt UI: 2.18.2
Version
2.18.2
Reproduction
Description
-
✅
<UButton>Text</UButton>returns:
<button type="button" class="...">Test</button> -
✅
<UButton to="#">Text</UButton>returns:
<a href="#" class="...">Test</button> -
✅
<UButton :disabled="true">Text</UButton>returns:
<button type="button" class="..." disabled>Test</button>anddisabledclasses
but:
- ❌
<UButton to="#" :disabled="true">Text</UButton>returns:
<a class="..." aria-disabled="true" role="link">Test</button>without attributeshrefanddisabledand also withoutdisabledclasses but with attributesaria-disabledandrole.
It's 4th example not should return href and disabled attributes and also disabled classes?
Additional context
No response
Logs
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working