Hey there,

When editing a node with a the radioactivity field, the field is displayed without a label.

I attached this simple patch here that adds the user defined label for the field.

Cheers!

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

j-vee created an issue. See original summary.

Sutharsan’s picture

Status: Needs review » Needs work

Thanks for the report. However I do not agree with the approach. ::formElement() ignores the content of $element while I think it shouldn't. We not only loose #title, but also #required.

tcmug’s picture

Incidentally I bumped into this today and figured out the missing bit was this:

 $element['energy'] = $element + array(

Not sure if it was an oversight or just a mistake there but that made it appear. Fixed this directly to the dev version.

Sutharsan’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

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