RXNT/react-jsonschema-form-conditionals

Can't use a custom widget

mjozan opened this issue · 1 comments

Hello

I don't know if this is a bug or if I am doing something wrong but I can't use a custom widget when using this library. I keep getting React is not defined or _objectWithoutProperties2 is not defined when events happen.

Here is an example: https://codesandbox.io/s/spike-react-starter-6xkwx

KKS1 commented

Seems to be an issue where 'react-jsonschema-form-conditionals' is expecting a babel transpiled version of custom widget; thus causing these run time errors.

Added in details here:

https://stackoverflow.com/questions/60719865/react-is-not-defined-when-using-react-jsonschema-form/60882747#60882747