When using the autocomplete widget (Non multiple), the label of the field is not present.

CommentFileSizeAuthor
#1 1287338-element-widget-label.patch683 bytesjsacksick
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jsacksick’s picture

Solution :
Merge the $element variable coming from the hook_field_widget_form(). with the element variable returned.
Maybe this is unneeded and we should only get the title (And maybe other settings) coming from the variable.

Damien Tournoud’s picture

Status: Active » Fixed

Thanks for the patch. Indeed, I missed that during testing. Merged a slightly different version in 7.x-1.x.

Status: Fixed » Closed (fixed)

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