We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9841f5 commit 91d97b0Copy full SHA for 91d97b0
packages/bootstrap-vue-3/src/composables/useFormCheck.ts
@@ -92,9 +92,9 @@ const getGroupClasses = (items: {
92
*/
93
const slotsToElements = (slots: Array<any>, nodeType: string, disabled: boolean) =>
94
slots
95
- .reduce((acc: Array<any>, slot: any) => slot.type.name === 'Symbol(Fragment)' ?
+ .reduce((acc: Array<any>, slot: any) => slot.type.toString() === 'Symbol(Fragment)' ?
96
acc.concat(slot.children) : acc.concat([slot]), [])
97
- .filter((e: any) => e.type.name === nodeType)
+ .filter((e: any) => (e.type.__name || e.type.name) === nodeType)
98
.map((e: any) => {
99
const txtChild = (e.children.default ? e.children.default() : []).find(
100
(e: any) => e.type.toString() === 'Symbol(Text)'
0 commit comments