Closed (works as designed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
CSS
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
20 Sep 2011 at 19:25 UTC
Updated:
20 Nov 2015 at 00:07 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Everett Zufelt commentedBumping to 8.x since changes happen in dev branch first.
This wouldn't be too hard to patch in theme_radios(), or theme_radio() but we should make sure that we're doing it consistently for all form elements.
Comment #2
KrisBulman commentedComment #3
xjmComment #4
KrisBulman commentedthanks, was about to do this. I haven't made progress.
Comment #5
nclavaud commentedActually I think theme_form_element() is the right place to fix this.
Comment #6
mukeysh commented5: form_item_radio_class-1285506-5.patch queued for re-testing.
Comment #7
joelpittetIs this actually useful, can you give some common example use-cases where this will help in which another CSS selector couldn't do the trick?
If the use-case isn't super common need then a couldn't a hook_template_preprocess override in your theme do the trick to add the extra class?
I'd like to limit the selectors to the bare minimum, also the amount of wrapper divs that drupal 8 ships with.
Comment #8
joelpittetNo response, closing this. If you'd like to work on this feature please re-open for 8.1.x