Skip to content

Commit 2cdb73b

Browse files
author
Gulshan Mishra
committed
FORMS-12786: added proxy for switch component
1 parent 4b7a564 commit 2cdb73b

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
3+
jcr:primaryType="cq:Component"
4+
jcr:title="Adaptive Form Switch"
5+
jcr:description="Add a switch for users to toggle between two options."
6+
sling:resourceSuperType="core/fd/components/form/switch/v1/switch"
7+
cq:icon="switch"
8+
componentGroup="${appTitle} - Adaptive Form"/>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0"
3+
jcr:primaryType="nt:unstructured"
4+
jcr:title="Switch"
5+
fieldType="checkbox"
6+
enum="[1,0]"
7+
enumNames="[ON,OFF]"/>

0 commit comments

Comments
 (0)