File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -196,6 +196,7 @@ export default {
196196
197197 togglerAttrs () {
198198 return {
199+ ' type' : ' button' ,
199200 ' aria-expanded' : this .visible ? ' true' : ' false' ,
200201 ' aria-haspopup' : ' true' ,
201202 }
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ exports[`CDropdown renders correctly 1`] = `
88 aria-expanded = " false"
99 aria-haspopup = " true"
1010 class = " btn dropdown-toggle"
11+ type = " button"
1112 >
1213 Dropdown
1314 </button >
@@ -30,6 +31,7 @@ exports[`CDropdown renders correctly inNav 1`] = `
3031 class = " additional-toggler-class nav-link bg-success"
3132 href = " #"
3233 target = " _self"
34+ type = " button"
3335 >
3436 Dropdown button
3537 </a >
@@ -58,6 +60,7 @@ exports[`CDropdown renders custom wrapper correctly 1`] = `
5860 aria-expanded = " true"
5961 aria-haspopup = " true"
6062 class = " dropdown-toggle dropdown-toggle-split additional-toggler-class btn btn-lg btn-success"
63+ type = " button"
6164 />
6265
6366 <div
You can’t perform that action at this time.
0 commit comments