Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

granite:class and granite:data for select?

Avatar

Level 2

Hello,

I just finished watching this presentation: https://seminars.adobeconnect.com/p43ucnv6655/?proto=true

I am trying to add a granite:class property to my granite/ui/components/foundation/form/select widget.

I was able to add this to a textfield, but it doesn't appear to be working for the select field.

Can someone please advise on how to go about adding this property?

Thanks, Matt

1 Accepted Solution

Avatar

Correct answer by
Level 2

Use granite/ui/components/coral/foundation/form/select instead

View solution in original post

4 Replies

Avatar

Community Advisor

Hi

Please let us know the solution to the community.

Thanks,
Ratna.

Avatar

Correct answer by
Level 2

Use granite/ui/components/coral/foundation/form/select instead

Avatar

Level 4

An example (with Granite UI - RadioGroup - granite:class and granite:data):

This is the markup in .content.xml:

1547514_pastedImage_2.png

This is the rendered DOM:

1547512_pastedImage_0.png

Good Luck...