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.



Dave Reid’s picture

Status:Active» Needs review
new1.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.

Status:Fixed» Closed (fixed)

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