Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Constraint Dropdown for forms for Touch UI

Avatar

Level 2

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?

1 Accepted Solution

Avatar

Correct answer by
Level 10

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

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

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