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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1980824-options-element-support-attributes.patch | 1.27 KB | dave reid |
Comments
Comment #1
dave reidComment #2
dave reidCommitted #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