Closed edhollinghurst closed 1 year ago
Hello,
yes, good catch! We should add function
here: https://github.com/data-driven-forms/react-forms/blob/50e054dfec6173d369031195a529e5d8b0b3101c/packages/react-form-renderer/src/condition/condition.js#L106
I can open a PR later
Thanks @rvsia !
:tada: This issue has been resolved in version 3.20.7 :tada:
The release is available on
Description It appears that when a custom function is used for the
is
property in a condition, a warning is shown in the console.Warning: Failed prop type: Invalid prop `condition` supplied to `Memo`.
You can view the example at https://codesandbox.io/s/react-form-renderer-custom-function-condition-udj3sr