fixed form builder
This commit is contained in:
parent
f019c3a1c4
commit
059b2e3e64
3 changed files with 15 additions and 8 deletions
|
@ -7,6 +7,8 @@ import { RouterProvider } from "react-router-dom";
|
|||
import { router } from "./core/routers/routers";
|
||||
import { configure } from "mobx";
|
||||
import { ThemeStore } from "./core/store/theme_store";
|
||||
import { FormBuilderValidationModel } from "./core/model/form_builder_validation_model";
|
||||
import { FormBuilder } from "./core/ui/form_builder/form_builder";
|
||||
|
||||
configure({
|
||||
enforceActions: "never",
|
||||
|
@ -22,6 +24,11 @@ root.render(
|
|||
<SocketListener>
|
||||
<RouterProvider router={router} />
|
||||
</SocketListener>
|
||||
|
||||
{/* <FormBuilder
|
||||
formBuilder={FormBuilderValidationModel.test()}
|
||||
onChange={function (change: FormBuilderValidationModel): void {
|
||||
console.log(JSON.stringify(change.output));
|
||||
}}
|
||||
/> */}
|
||||
</>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue