Skip to content

Commit d23557e

Browse files
committed
Disable isValidComponent for now
1 parent 05ae605 commit d23557e

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

packages/react-form-renderer/src/parsers/default-schema-validator.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,12 @@ const iterateOverFields = (fields, formFieldsMapper, layoutMapper, parent = {})
129129
`);
130130
}
131131

132-
if (!componentBlackList.includes(field.component) && !isValidComponent(formFieldsMapper[field.component])) {
133-
throw new DefaultSchemaError(`FormComponent "${field.component}" from formFieldsMapper is not a valid React component!`);
134-
}
132+
/**
133+
* Investiage
134+
*/
135+
//if (!componentBlackList.includes(field.component) && !isValidComponent(formFieldsMapper[field.component])) {
136+
// throw new DefaultSchemaError(`FormComponent "${field.component}" from formFieldsMapper is not a valid React component!`);
137+
//}
135138

136139
}
137140

packages/react-renderer-demo/src/app/next.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ module.exports = withBundleAnalyzer(withMDX(withCSS({
7272
};
7373

7474
config.optimization.minimizer = [
75-
...config.optimization.minimizer,
7675
new TerserPlugin({
7776
cache: true,
7877
parallel: true,

0 commit comments

Comments
 (0)