react-json-schema-form-extras
react-json-schema-form-extras copied to clipboard
Uncaught TypeError: with asyncTypeAhead in onChange method
HEy guys, I have a onChange where I check if an array list has items added in the json schema, implement asyncTypeAhead. The reason I have this in the onChange is cuz I need to send the formData value typed in in one field into the url in the asyncTypeAhead url prop (may need to fix search prop instead but eitherway.)
I get this error and its not saying its my code...
Uncaught TypeError: Cannot use 'in' operator to search for '__errors' in onChange
I checked where this is, it seems its a validate.js file in this library :
How do I resolve this? appeared:
Edit: Failed to recreate the error... lol . Now I have another error that
I could not figure out much from your comments. Could you provide more info and add your schema config?
You can use this as a reference to organize your schema/uiSchema.
Here is a working (broken) example in codesandbox:
https://codesandbox.io/s/funny-rgb-ltvvp