Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Commit 3fa85d8

Browse files
author
Talmiz Ahmed
committed
Merge branch 'main' into ue-fieldtype
2 parents de9d3b1 + 68f4bea commit 3fa85d8

23 files changed

+37
-144
lines changed

blocks/form/components/accordion/_accordion.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,14 @@
1010
"template": {
1111
"jcr:title": "Accordion",
1212
"fd:viewType": "accordion",
13-
"enabled": true,
14-
"visible": true,
1513
"panel1": {
1614
"jcr:title": "Item 1",
1715
"fieldType": "panel",
18-
"visible": true,
19-
"enabled": true,
2016
"sling:resourceType": "core/fd/components/form/panelcontainer/v1/panelcontainer"
2117
},
2218
"panel2": {
2319
"jcr:title": "Item 2",
2420
"fieldType": "panel",
25-
"visible": true,
26-
"enabled": true,
2721
"sling:resourceType": "core/fd/components/form/panelcontainer/v1/panelcontainer"
2822
}
2923
}

blocks/form/components/modal/_modal.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
"resourceType": "core/fd/components/form/panelcontainer/v1/panelcontainer",
1010
"template": {
1111
"jcr:title": "Modal",
12-
"fd:viewType": "modal",
13-
"enabled": true,
14-
"visible": false
12+
"fd:viewType": "modal"
1513
}
1614
}
1715
}

blocks/form/components/rating/_rating.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
"resourceType": "core/fd/components/form/numberinput/v1/numberinput",
1010
"template": {
1111
"jcr:title": "Rating",
12-
"fd:viewType": "rating",
13-
"enabled": true,
14-
"visible": true
12+
"fd:viewType": "rating"
1513
}
1614
}
1715
}

blocks/form/components/tnc/_tnc.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
"template": {
1111
"jcr:title": "Terms and conditions",
1212
"fd:viewType": "tnc",
13-
"enabled": true,
14-
"visible": true,
1513
"text": {
1614
"value": "Text related to the terms and conditions come here.",
1715
"sling:resourceType": "core/fd/components/form/text/v1/text",
@@ -21,8 +19,6 @@
2119
"enum": ["dummy-link-1"],
2220
"type": "string[]",
2321
"fd:viewType": "toggleable-link",
24-
"enabled": true,
25-
"visible": true,
2622
"title": "I agree to the terms & conditions",
2723
"enumNames": [
2824
"Privacy policy."
@@ -44,8 +40,6 @@
4440
"jcr:title": "I agree to the terms & conditions.",
4541
"sling:resourceType": "core/fd/components/form/checkbox/v1/checkbox",
4642
"required": true,
47-
"enabled": true,
48-
"visible": true,
4943
"type": "string",
5044
"enum": [
5145
"true"

blocks/form/components/wizard/_wizard.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,12 @@
1010
"template": {
1111
"jcr:title": "Wizard",
1212
"fd:viewType": "wizard",
13-
"enabled": true,
14-
"visible": true,
1513
"panel1": {
1614
"jcr:title": "Item 1",
17-
"visible": true,
18-
"enabled": true,
1915
"sling:resourceType": "core/fd/components/form/panelcontainer/v1/panelcontainer"
2016
},
2117
"panel2": {
2218
"jcr:title": "Item 2",
23-
"visible": true,
24-
"enabled": true,
2519
"sling:resourceType": "core/fd/components/form/panelcontainer/v1/panelcontainer"
2620
}
2721
}

blocks/form/models/form-components/_button.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@
88
"page": {
99
"resourceType": "core/fd/components/form/button/v1/button",
1010
"template": {
11-
"jcr:title": "Button",
12-
"enabled": true,
13-
"visible": true
11+
"jcr:title": "Button"
1412
}
1513
}
1614
}

blocks/form/models/form-components/_checkbox-group.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
"Item 1",
1818
"Item 2"
1919
],
20-
"visible": true,
21-
"enabled": true,
2220
"orientation": "horizontal",
2321
"type": "string[]"
2422
}

blocks/form/models/form-components/_checkbox.json

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,15 @@
44
"title": "Checkbox",
55
"id": "checkbox",
66
"plugins": {
7-
"xwalk": {
8-
"page": {
9-
"resourceType": "core/fd/components/form/checkbox/v1/checkbox",
10-
"template": {
11-
"jcr:title": "Checkbox",
12-
"enabled": true,
13-
"visible": true,
14-
"checkedValue": "on"
15-
}
7+
"xwalk": {
8+
"page": {
9+
"resourceType": "core/fd/components/form/checkbox/v1/checkbox",
10+
"template": {
11+
"jcr:title": "Checkbox",
12+
"checkedValue": "on"
13+
}
14+
}
1615
}
17-
}
1816
}
1917
}
2018
],

blocks/form/models/form-components/_date-input.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@
88
"page": {
99
"resourceType": "core/fd/components/form/datepicker/v1/datepicker",
1010
"template": {
11-
"jcr:title": "Date Input",
12-
"enabled": true,
13-
"visible": true
11+
"jcr:title": "Date Input"
1412
}
1513
}
1614
}

blocks/form/models/form-components/_drop-down.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
"Item 1",
1818
"Item 2"
1919
],
20-
"enabled": true,
21-
"visible": true,
2220
"type": "string"
2321
}
2422
}

0 commit comments

Comments
 (0)