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 6c43b68 commit f2f20f6Copy full SHA for f2f20f6
src/components/FlowForm.vue
@@ -319,7 +319,7 @@
319
320
if (children) {
321
children
322
- .filter(q => q.type && q.type.name.indexOf('Question') !== -1)
+ .filter(q => q.type && typeof q.type === 'object' && q.type.name.indexOf('Question') !== -1)
323
.forEach(q => {
324
const props = q.props
325
const componentInstance = this.getInstance(props.id)
0 commit comments