Please Add a the ability to add a class name to options

  • sjb1963
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 5 months ago #147486 by sjb1963
This would allow for individual styling of the options.

Please Log in or Create an account to join the conversation.

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
2 years 5 months ago #147504 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Please Add a the ability to add a class name to options
Hello,

Please take a screenshot to show me where do you want to add class exactly.

Sincerely, Giang

Please Log in or Create an account to join the conversation.

  • sjb1963
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 5 months ago #147513 by sjb1963
Hi there.
I've attached a mock up of what it might look like. Of course I have no way of knowing how much extra coding it would take on your part, but this would add a whole new layer of flexibility to styling.

I've indicated the places where the proposed class names might apply.

Thank you for considering this. 

Please Log in or Create an account to join the conversation.

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
2 years 5 months ago #147726 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Please Add a the ability to add a class name to options
Hmm,

This is from back-end side. I think it is not essential to add class name for options there.

Sincerely, Giang

Please Log in or Create an account to join the conversation.

  • sjb1963
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 5 months ago #147743 by sjb1963
Whatever you do, it would be very much appreciated to be able to specifically address individual options. Right now, it's very difficult to style things because there are no real class names to distinguish several elements.

Please Log in or Create an account to join the conversation.

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
2 years 5 months ago #147796 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Please Add a the ability to add a class name to options
Hi there,

I am still confused why you need to style for options on the back-end side.

Sincerely, Giang

Please Log in or Create an account to join the conversation.

  • sjb1963
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 5 months ago #147800 by sjb1963
I'm not trying to style the options on the backend side. I'm trying to make it easier to style the options across the board without having to do an override or write a bunch of CSS that is dependent on things like "nth-child" that will break as soon as something changes. Specific, identifiable, user-defined class names would be very helpful.

This way, when I create a new option, I can give that option a specific name (on the form on the back end - the same one that creates the option to begin with)

Please Log in or Create an account to join the conversation.

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
2 years 5 months ago #147827 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Please Add a the ability to add a class name to options
OK I will look more on this.

Sincerely, Giang

Please Log in or Create an account to join the conversation.

Moderators: Giang Dinh Truong