-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Errors
- When removing the field editor return error (Uncaught TypeError: Cannot read properties of undefined (reading 'children'))
- Show schema button not working (Nothing happened when clicked it)
- When dragging a field from the component then two fields are added in the editor (Added duplicate fields)
My code
import componentMapper from '@data-driven-forms/ant-component-mapper/component-mapper';
import FormTemplate from '@data-driven-forms/ant-component-mapper/form-template';
import Editor from '@data-driven-forms/editor-pro/editor';
import propertiesFields from '@data-driven-forms/editor-pro/editor/properties-fields';
import { Schema } from '@data-driven-forms/react-form-renderer';
import schema from './data2.json';
const fields = propertiesFields({ componentMapper });
console.log("fields",fields);
const FormEditorPage = () => {
return (
<Editor
fields={fields}
initialSchema={schema}
componentMapper={componentMapper}
FormTemplate={FormTemplate}
/>
);
};
export default FormEditorPage;
Screen Shorts
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working


