File tree 3 files changed +36
-0
lines changed
packages/shared-components/src/customComponents
3 files changed +36
-0
lines changed Original file line number Diff line number Diff line change 11
11
** /coverage
12
12
** /cypress /videos
13
13
** /cypress /screenshots
14
+ /.vscode
14
15
15
16
16
17
# production
Original file line number Diff line number Diff line change
1
+ import Container from "formiojs/components/container/Container";
2
+ import ContainerEditForm from "formiojs/components/container/Container.form";
3
+ import ContainerDisplayEditForm from "formiojs/components/container/editForm/Container.edit.display";
4
+
5
+ Container.editForm = () => {
6
+ return ContainerEditForm([
7
+ {
8
+ label: "Display",
9
+ key: "display",
10
+ components: [
11
+ ...ContainerDisplayEditForm,
12
+ {
13
+ key: "hidden",
14
+ ignore: true,
15
+ },
16
+ {
17
+ key: "disabled",
18
+ ignore: true,
19
+ },
20
+ {
21
+ key: "tableView",
22
+ ignore: true,
23
+ },
24
+ {
25
+ key: "modalEdit",
26
+ ignore: true,
27
+ },
28
+ ],
29
+ },
30
+ ]);
31
+ };
32
+
33
+ export default Container;
Original file line number Diff line number Diff line change 1
1
import AlertStripe from "./components/AlertStripe" ;
2
+ import Container from "./components/Container" ;
2
3
import CountrySelect from "./components/CountrySelect" ;
3
4
import DataGrid from "./components/DataGrid" ;
4
5
import Day from "./components/Day" ;
@@ -17,6 +18,7 @@ import Textarea from "./components/TextArea";
17
18
import TextField from "./components/TextField" ;
18
19
19
20
const customComponents = {
21
+ container : Container ,
20
22
alertstripe : AlertStripe ,
21
23
fnrfield : Fodselsnummer ,
22
24
orgNr : OrganizationNumber ,
You can’t perform that action at this time.
0 commit comments