Skip to content

Commit cb2bfbe

Browse files
committed
fix: CDropdown remove type="button" assignment when dropdown is in nav
1 parent f2114e6 commit cb2bfbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/dropdown/CDropdown.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ export default {
196196
197197
togglerAttrs () {
198198
return {
199-
'type': 'button',
199+
'type': this.inNav ? null : 'button',
200200
'aria-expanded': this.visible ? 'true' : 'false',
201201
'aria-haspopup': 'true',
202202
}

0 commit comments

Comments
 (0)