Skip to content

Commit 8156884

Browse files
committed
Disable isValidComponent for now
1 parent 4def75c commit 8156884

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
@@ -133,9 +133,12 @@ const iterateOverFields = (fields, formFieldsMapper, layoutMapper, parent = {})
133133
`);
134134
}
135135

136-
if (!componentBlackList.includes(field.component) && !isValidComponent(formFieldsMapper[field.component])) {
137-
throw new DefaultSchemaError(`FormComponent "${field.component}" from formFieldsMapper is not a valid React component!`);
138-
}
136+
/**
137+
* Investiage
138+
*/
139+
//if (!componentBlackList.includes(field.component) && !isValidComponent(formFieldsMapper[field.component])) {
140+
// throw new DefaultSchemaError(`FormComponent "${field.component}" from formFieldsMapper is not a valid React component!`);
141+
//}
139142

140143
}
141144

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)