Skip to content

Commit

Permalink
FORMS-9834 - Fix Submit button in OOTB templates
Browse files Browse the repository at this point in the history
Fixing submit button rendering issue in device rendition
  • Loading branch information
pankaj-parashar committed Aug 7, 2023
1 parent 95edf82 commit b07cfda
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -660,9 +660,8 @@
<cq:responsive jcr:primaryType="nt:unstructured">
<default
jcr:primaryType="nt:unstructured"
behavior="newline"
offset="6"
width="2"/>
width="6"/>
</cq:responsive>
<fd:rules
fd:click="[{&quot;nodeName&quot;:&quot;ROOT&quot;\,&quot;items&quot;:[{&quot;nodeName&quot;:&quot;STATEMENT&quot;\,&quot;choice&quot;:{&quot;nodeName&quot;:&quot;EVENT_SCRIPTS&quot;\,&quot;items&quot;:[{&quot;nodeName&quot;:&quot;EVENT_CONDITION&quot;\,&quot;choice&quot;:{&quot;nodeName&quot;:&quot;EVENT_AND_COMPARISON&quot;\,&quot;items&quot;:[{&quot;nodeName&quot;:&quot;COMPONENT&quot;\,&quot;value&quot;:{&quot;id&quot;:&quot;$form.SignaturePanel.button1681811516193&quot;\,&quot;type&quot;:&quot;BUTTON&quot;\,&quot;name&quot;:&quot;button1681811516193&quot;}}\,{&quot;nodeName&quot;:&quot;EVENT_AND_COMPARISON_OPERATOR&quot;\,&quot;choice&quot;:{&quot;nodeName&quot;:&quot;is clicked&quot;\,&quot;value&quot;:null}}\,{&quot;nodeName&quot;:&quot;PRIMITIVE_EXPRESSION&quot;\,&quot;choice&quot;:null}]}\,&quot;nested&quot;:false}\,{&quot;nodeName&quot;:&quot;Then&quot;\,&quot;value&quot;:null}\,{&quot;nodeName&quot;:&quot;BLOCK_STATEMENTS&quot;\,&quot;items&quot;:[{&quot;nodeName&quot;:&quot;BLOCK_STATEMENT&quot;\,&quot;choice&quot;:{&quot;nodeName&quot;:&quot;SUBMIT_FORM&quot;\,&quot;items&quot;:[]}}]}]}}]\,&quot;isValid&quot;:true\,&quot;enabled&quot;:true\,&quot;version&quot;:1\,&quot;script&quot;:[&quot;submitForm('custom:submitSuccess'\, 'custom:submitError')&quot;]\,&quot;eventName&quot;:&quot;Click&quot;\,&quot;ruleType&quot;:&quot;&quot;\,&quot;description&quot;:&quot;&quot;}]"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,8 @@
<cq:responsive jcr:primaryType="nt:unstructured">
<default
jcr:primaryType="nt:unstructured"
offset="5"
width="1"/>
offset="6"
width="6"/>
</cq:responsive>
</submit>
</panelcontainer_295155161>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@
<cq:responsive jcr:primaryType="nt:unstructured">
<default
jcr:primaryType="nt:unstructured"
offset="5"
width="1"/>
offset="6"
width="6"/>
</cq:responsive>
</submit>
</panelcontainer>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@
<default
jcr:primaryType="nt:unstructured"
offset="6"
width="1"/>
width="6"/>
</cq:responsive>
</submit>
</panelcontainer>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,8 @@
<cq:responsive jcr:primaryType="nt:unstructured">
<default
jcr:primaryType="nt:unstructured"
offset="5"
width="1"/>
offset="6"
width="6"/>
</cq:responsive>
</submit>
</panelcontainer>
Expand Down

0 comments on commit b07cfda

Please sign in to comment.