> we should aim to move the dragtable widget into Drupal core, maybe in 8.1, as a replacement for the 'entity_reference_autocomplete' widget (Drupal\Core\Field\Plugin\Field\FieldWidget\EntityReferenceAutocompleteWidget), which lacks *a lot* in usability compared to the nodequeue/entityqueue widget

Comments

gnuget’s picture

Assigned: Unassigned » gnuget

I will take a stab at this one.

  • amateescu committed 2460cc3 on 8.x-1.x
    Issue #2489514: Convert the draggable table widget to a FieldWidget...
amateescu’s picture

Title: Move draggable table widget to a FieldWidget plugin » Convert the draggable table widget to a FieldWidget plugin
Assigned: gnuget » Unassigned
Status: Active » Fixed

Ended up rewriting the widget completely. The new implementation uses the API provided by WidgetBase as much as possible, which means less code to maintain and, hopefully, no bugs like #2482769: Using the Draggable Table widget in a Field Collection causes erratic behavior.

Status: Fixed » Closed (fixed)

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

amateescu’s picture

Status: Closed (fixed) » Needs work

I found some problems with the new widget while working on http://cgit.drupalcode.org/entityqueue/commit/?id=4482937, so I reverted the 'items' field to use the regular ER widget and marked our "dragtable" one as experimental.

Going to set this back to needs work until the new code is tested and works properly in all scenarios.

justcaldwell’s picture

Just adding an issue with draggable table created by changes in beta1: #3047463: Draggable table widget broken for queues with item limit

amateescu’s picture

Status: Needs work » Fixed

This widget has been rewritten (again) in #3047463-6: Draggable table widget broken for queues with item limit, so I'm going to close this one.

Status: Fixed » Closed (fixed)

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