Custom Widget, multiple File input Errors always returns undefined #4304
Unanswered
MarcusKuehn
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My Custom Widget builds a DropZone where you can drop multiple Files. When it comes to error handling, i provide the errors to the onChange() but no Error is shown. After some research, i found the ArrayFields.js , there is a handling for Custom Widgets witch does not use onChange but onSelectChange that is always putting undefined in the onChange method. Is this intended?
react-jsonschema-form/packages/core/src/components/fields/ArrayField.tsx
Line 421 in 9d1ff6d
How is it possible to show Errors for such an Array, when this is intended?
Beta Was this translation helpful? Give feedback.
All reactions