8000 fix(CAccordionButton): add missing type='button' · gfoidl/coreui-vue@82476e7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 82476e7

Browse files
committed
fix(CAccordionButton): add missing type='button'
1 parent 0ecc823 commit 82476e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/coreui-vue/src/components/accordion/CAccordionButton.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ const CAccordionButton = defineComponent({
1010
h(
1111
'button',
1212
{
13+
type: 'button',
1314
'aria-expanded': !visible.value,
1415
class: ['accordion-button', { ['collapsed']: !visible.value }],
1516
onClick: () => toggleVisibility(),

0 commit comments

Comments
 (0)
0