HI,

I'm trying to use this module with an Entity Reference field (with autocomplete widget) and it doesn't work... Does somebody have the same issue?

Thanks!

Comments

dromansab created an issue.

hyltonmillar’s picture

If you change line 22 to:
if ((isset($element['#field_name']) or isset($element['target_id']['#field_name'])) and isset($context['instance']['settings']['no_table_drag'])) {
then it works.
It needs to check in the target_id array for the field_name for entity reference fields