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

Files: 
CommentFileSizeAuthor
#1 1287338-element-widget-label.patch683 bytesjsacksick

Comments

StatusFileSize
new683 bytes

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.

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.