Constraint Dropdown for forms for Touch UI | Community
Skip to main content
Level 2
February 25, 2019
Solved

Constraint Dropdown for forms for Touch UI

  • February 25, 2019
  • 1 reply
  • 1314 views

We are in the process of converting all the dialogs to Touch.

We noticed that in the classic UI: We could use /bin/wcm/foundation/forms/constraints.json

Sample:

<constraintType

                    jcr:primaryType="cq:Widget"

                    fieldLabel="Constraint"

                    name="./constraintType"

                    options="/bin/wcm/foundation/forms/constraints.json"

                    type="select"

                    xtype="selection"/>

What's the equivalent for the above in Touch UI?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Gaurav-Behl

For form constraints check this - How constraint type is populated in foundation form text component??

For xtype selection, use Select — Granite UI 1.0 documentation  or equivalent "select" resourceType/component based on your requirements

1 reply

Gaurav-Behl
Gaurav-BehlAccepted solution
Level 10
February 26, 2019

For form constraints check this - How constraint type is populated in foundation form text component??

For xtype selection, use Select — Granite UI 1.0 documentation  or equivalent "select" resourceType/component based on your requirements