Expand my Community achievements bar.

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