You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In public/catalog/haddock3.easy.yaml find the mol schema and add description: Some description.
npm run dev
Load example
Select topoaa in middle column
Expand Input molecules
I expected to see a sub form, but I got a error.
Error in console
react.development.js:220 Warning: React.createElement: typeisinvalid--expectedastring(forbuilt-incomponents)oraclass/function(forcompositecomponents)but got: undefined.Youlikelyforgottoexportyourcomponentfromthefileit's defined in, or you might have mixed up default and named imports.
Checktherendermethodof`ArrayFieldDescription2`.atArrayFieldDescription2(http://localhost:3000/node_modules/.vite/deps/@rjsf_bootstrap-4.js?v=8f9c04b2:212:33)atdiv
at http://localhost:3000/node_modules/.vite/deps/chunk-YBP25ECQ.js?v=8f9c04b2:207:23atdiv
at http://localhost:3000/node_modules/.vite/deps/chunk-BK3S5FMQ.js?v=8f9c04b2:169:23atdivatDefaultNormalArrayFieldTemplate2(http://localhost:3000/node_modules/.vite/deps/@rjsf_bootstrap-4.js?v=8f9c04b2:296:39)atArrayFieldTemplate2(http://localhost:3000/node_modules/.vite/deps/@rjsf_bootstrap-4.js?v=8f9c04b2:192:22)atArrayField2(http://localhost:3000/node_modules/.vite/deps/chunk-T4IBOB7J.js?v=8f9c04b2:11676:5)atdiv
at http://localhost:3000/node_modules/.vite/deps/chunk-YBP25ECQ.js?v=8f9c04b2:490:23atFieldTemplate2(http://localhost:3000/node_modules/.vite/deps/@rjsf_bootstrap-4.js?v=8f9c04b2:368:17)atSchemaField2(http://localhost:3000/node_modules/.vite/deps/chunk-T4IBOB7J.js?v=8f9c04b2:13480:5)atdiv
at http://localhost:3000/node_modules/.vite/deps/chunk-YBP25ECQ.js?v=8f9c04b2:207:23atdiv
at http://localhost:3000/node_modules/.vite/deps/chunk-BK3S5FMQ.js?v=8f9c04b2:169:23atdiv
at http://localhost:3000/node_modules/.vite/deps/chunk-BK3S5FMQ.js?v=8f9c04b2:204:23atObjectFieldTemplate2(http://localhost:3000/node_modules/.vite/deps/@rjsf_bootstrap-4.js?v=8f9c04b2:387:32)atObjectField2(http://localhost:3000/node_modules/.vite/deps/chunk-T4IBOB7J.js?v=8f9c04b2:12867:5)atdivatCollapsibleField(http://localhost:3000/src/CollapsibleField.tsx:22:13)atdiv
at http://localhost:3000/node_modules/.vite/deps/chunk-YBP25ECQ.js?v=8f9c04b2:490:23atFieldTemplate2(http://localhost:3000/node_modules/.vite/deps/@rjsf_bootstrap-4.js?v=8f9c04b2:368:17)atSchemaField2(http://localhost:3000/node_modules/.vite/deps/chunk-T4IBOB7J.js?v=8f9c04b2:13480:5)atdiv
at http://localhost:3000/node_modules/.vite/deps/chunk-YBP25ECQ.js?v=8f9c04b2:207:23atdiv
at http://localhost:3000/node_modules/.vite/deps/chunk-BK3S5FMQ.js?v=8f9c04b2:169:23atdiv
at http://localhost:3000/node_modules/.vite/deps/chunk-BK3S5FMQ.js?v=8f9c04b2:204:23atObjectFieldTemplate2(http://localhost:3000/node_modules/.vite/deps/@rjsf_bootstrap-4.js?v=8f9c04b2:387:32)atObjectField2(http://localhost:3000/node_modules/.vite/deps/chunk-T4IBOB7J.js?v=8f9c04b2:12867:5)atdiv
at http://localhost:3000/node_modules/.vite/deps/chunk-YBP25ECQ.js?v=8f9c04b2:490:23atFieldTemplate2(http://localhost:3000/node_modules/.vite/deps/@rjsf_bootstrap-4.js?v=8f9c04b2:368:17)atSchemaField2(http://localhost:3000/node_modules/.vite/deps/chunk-T4IBOB7J.js?v=8f9c04b2:13480:5)atformatForm2(http://localhost:3000/node_modules/.vite/deps/chunk-T4IBOB7J.js?v=8f9c04b2:16497:5)
at http://localhost:3000/node_modules/.vite/deps/chunk-T4IBOB7J.js?v=8f9c04b2:16976:23atNodeForm(http://localhost:3000/src/NodeForm.tsx:22:35)atfieldsetatNodePanel(http://localhost:3000/src/NodePanel.tsx:22:29)atdivatGridArea(http://localhost:3000/src/App.tsx:28:3)atdivatSuspenseatErrorBoundary(http://localhost:3000/src/ErrorBoundary.tsx:5:8)atDndProvider2(http://localhost:3000/node_modules/.vite/deps/react-dnd.js?v=8f9c04b2:2784:23)atRecoilRoot_INTERNAL(http://localhost:3000/node_modules/.vite/deps/recoil.js?v=8f9c04b2:2464:3)atRecoilRoot(http://localhost:3000/node_modules/.vite/deps/recoil.js?v=8f9c04b2:2575:5)atWrapper(http://localhost:3000/src/Wrapper.tsx:25:3)atAppprintWarning @ react.development.js:220react-dom.development.js:25058UncaughtError: Elementtypeisinvalid: expectedastring(forbuilt-incomponents)oraclass/function(forcompositecomponents)butgot:undefined.Youlikelyforgottoexportyourcomponentfromthefileit'sdefinedin,oryoumighthavemixedupdefaultandnamedimports.
Checktherendermethodof`ArrayFieldDescription2`.atcreateFiberFromTypeAndProps(react-dom.development.js:25058:21)atcreateFiberFromElement(react-dom.development.js:25086:15)atreconcileSingleElement(react-dom.development.js:14052:23)atreconcileChildFibers2(react-dom.development.js:14112:35)atreconcileChildren(react-dom.development.js:16990:28)atmountIndeterminateComponent(react-dom.development.js:17890:5)atbeginWork(react-dom.development.js:19049:16)atHTMLUnknownElement.callCallback2(react-dom.development.js:3945:14)atObject.invokeGuardedCallbackDev(react-dom.development.js:3994:16)atinvokeGuardedCallback(react-dom.development.js:4056:31)react-dom.development.js:20085Theaboveerroroccurredinthe<ArrayFieldDescription2>component:
atArrayFieldDescription2(http://localhost:3000/node_modules/.vite/deps/@rjsf_bootstrap-4.js?v=8f9c04b2:212:33)atdiv
at http://localhost:3000/node_modules/.vite/deps/chunk-YBP25ECQ.js?v=8f9c04b2:207:23atdiv
at http://localhost:3000/node_modules/.vite/deps/chunk-BK3S5FMQ.js?v=8f9c04b2:169:23atdivatDefaultNormalArrayFieldTemplate2(http://localhost:3000/node_modules/.vite/deps/@rjsf_bootstrap-4.js?v=8f9c04b2:296:39)atArrayFieldTemplate2(http://localhost:3000/node_modules/.vite/deps/@rjsf_bootstrap-4.js?v=8f9c04b2:192:22)atArrayField2(http://localhost:3000/node_modules/.vite/deps/chunk-T4IBOB7J.js?v=8f9c04b2:11676:5)atdiv
at http://localhost:3000/node_modules/.vite/deps/chunk-YBP25ECQ.js?v=8f9c04b2:490:23atFieldTemplate2(http://localhost:3000/node_modules/.vite/deps/@rjsf_bootstrap-4.js?v=8f9c04b2:368:17)atSchemaField2(http://localhost:3000/node_modules/.vite/deps/chunk-T4IBOB7J.js?v=8f9c04b2:13480:5)atdiv
at http://localhost:3000/node_modules/.vite/deps/chunk-YBP25ECQ.js?v=8f9c04b2:207:23atdiv
at http://localhost:3000/node_modules/.vite/deps/chunk-BK3S5FMQ.js?v=8f9c04b2:169:23atdiv
at http://localhost:3000/node_modules/.vite/deps/chunk-BK3S5FMQ.js?v=8f9c04b2:204:23atObjectFieldTemplate2(http://localhost:3000/node_modules/.vite/deps/@rjsf_bootstrap-4.js?v=8f9c04b2:387:32)atObjectField2(http://localhost:3000/node_modules/.vite/deps/chunk-T4IBOB7J.js?v=8f9c04b2:12867:5)atdivatCollapsibleField(http://localhost:3000/src/CollapsibleField.tsx:22:13)atdiv
at http://localhost:3000/node_modules/.vite/deps/chunk-YBP25ECQ.js?v=8f9c04b2:490:23atFieldTemplate2(http://localhost:3000/node_modules/.vite/deps/@rjsf_bootstrap-4.js?v=8f9c04b2:368:17)atSchemaField2(http://localhost:3000/node_modules/.vite/deps/chunk-T4IBOB7J.js?v=8f9c04b2:13480:5)atdiv
at http://localhost:3000/node_modules/.vite/deps/chunk-YBP25ECQ.js?v=8f9c04b2:207:23atdiv
at http://localhost:3000/node_modules/.vite/deps/chunk-BK3S5FMQ.js?v=8f9c04b2:169:23atdiv
at http://localhost:3000/node_modules/.vite/deps/chunk-BK3S5FMQ.js?v=8f9c04b2:204:23atObjectFieldTemplate2(http://localhost:3000/node_modules/.vite/deps/@rjsf_bootstrap-4.js?v=8f9c04b2:387:32)atObjectField2(http://localhost:3000/node_modules/.vite/deps/chunk-T4IBOB7J.js?v=8f9c04b2:12867:5)atdiv
at http://localhost:3000/node_modules/.vite/deps/chunk-YBP25ECQ.js?v=8f9c04b2:490:23atFieldTemplate2(http://localhost:3000/node_modules/.vite/deps/@rjsf_bootstrap-4.js?v=8f9c04b2:368:17)atSchemaField2(http://localhost:3000/node_modules/.vite/deps/chunk-T4IBOB7J.js?v=8f9c04b2:13480:5)atformatForm2(http://localhost:3000/node_modules/.vite/deps/chunk-T4IBOB7J.js?v=8f9c04b2:16497:5)
at http://localhost:3000/node_modules/.vite/deps/chunk-T4IBOB7J.js?v=8f9c04b2:16976:23atNodeForm(http://localhost:3000/src/NodeForm.tsx:22:35)atfieldsetatNodePanel(http://localhost:3000/src/NodePanel.tsx:22:29)atdivatGridArea(http://localhost:3000/src/App.tsx:28:3)atdivatSuspenseatErrorBoundary(http://localhost:3000/src/ErrorBoundary.tsx:5:8)atDndProvider2(http://localhost:3000/node_modules/.vite/deps/react-dnd.js?v=8f9c04b2:2784:23)atRecoilRoot_INTERNAL(http://localhost:3000/node_modules/.vite/deps/recoil.js?v=8f9c04b2:2464:3)atRecoilRoot(http://localhost:3000/node_modules/.vite/deps/recoil.js?v=8f9c04b2:2575:5)atWrapper(http://localhost:3000/src/Wrapper.tsx:25:3)atAppReactwilltrytorecreatethiscomponenttreefromscratchusingtheerrorboundaryyouprovided,ErrorBoundary.
The topoaa.mol parameter is the first type=array parameter which has a description.
When schema is tested on https://rjsf-team.github.io/react-jsonschema-form/ the description is rendered correctly.
To reproduce
public/catalog/haddock3.easy.yaml
find the mol schema and adddescription: Some description
.npm run dev
Input molecules
I expected to see a sub form, but I got a error.
Error in console
When debugging I see ArrayFieldDescription at https://github.com/rjsf-team/react-jsonschema-form/blob/master/packages/bootstrap-4/src/ArrayFieldTemplate/ArrayFieldTemplate.tsx#L179 is undefined.
The text was updated successfully, but these errors were encountered: