In order to support D7's #states, and to also allow end-users to pass through custom classes and attributes to the base-level

, it would be nice if we actually used $element['#attributes'].

Patch is made with #1966852: Wrap options manual entry in a container and not a fieldset assumed being committed.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Dave Reid’s picture

Status: Active » Needs review
FileSize
1.27 KB
Dave Reid’s picture

Version: 7.x-1.8 » 7.x-1.x-dev
Status: Needs review » Fixed

Committed #1 with a couple of tweaks to use the standard element_set_attributes() and _form_set_class() functions.
http://drupalcode.org/project/options_element.git/commit/dd8ead2

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.