granite:class and granite:data for select? | Community
Skip to main content
Level 2
Apr 5, 2017 3:14 PM UTC
Solved

granite:class and granite:data for select?

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
mkinbaum27Accepted solution
Level 2
Apr 9, 2017 7:08 PM UTC

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

4 replies

akashs51893872
Level 3
Aug 13, 2018 3:01 AM UTC

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

This is the markup in .content.xml:

This is the rendered DOM:

Good Luck...

Translate
mkinbaum27AuthorAccepted solution
Level 2
Apr 9, 2017 7:08 PM UTC

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

Translate
Ratna_Kumar
Level 10
Apr 9, 2017 9:54 AM UTC

Hi

Please let us know the solution to the community.

Thanks,
Ratna.

Translate
Level 2
Apr 9, 2017 12:43 AM UTC

Please ignore, problem solved.

Translate