Constraint Dropdown for forms for Touch UI | Community
Skip to main content
Level 2
Feb 25, 2019 7:04 PM UTC
Solved

Constraint Dropdown for forms for Touch UI

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.
Gaurav-Behl
Gaurav-BehlAccepted solution
Level 10
Feb 26, 2019 1:36 AM UTC

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
Feb 26, 2019 1:36 AM UTC

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

Translate