granite:class and granite:data for select? | Community
Skip to main content
Level 2
April 5, 2017
Solved

granite:class and granite:data for select?

  • April 5, 2017
  • 4 replies
  • 13920 views

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.
Best answer by mkinbaum27

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

4 replies

Level 2
April 9, 2017

Please ignore, problem solved.

Ratna_Kumar
Level 10
April 9, 2017

Hi

Please let us know the solution to the community.

Thanks,
Ratna.

mkinbaum27AuthorAccepted solution
Level 2
April 9, 2017

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

akashs51893872
Level 3
August 13, 2018

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...