Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
When using the autocomplete widget (Non multiple), the label of the field is not present.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1287338-element-widget-label.patch | 683 bytes | jsacksick |
Comments
Comment #1
jsacksick CreditAttribution: jsacksick commentedSolution :
Merge the
$element
variable coming from thehook_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.
Comment #2
Damien Tournoud CreditAttribution: Damien Tournoud commentedThanks for the patch. Indeed, I missed that during testing. Merged a slightly different version in 7.x-1.x.