This is using value-list which already has drag-and-drop but makes editing impossible, if you want to edit you have to delete row and recreate it, because all events on the row are for drag/drop.
So my options:
1- modify directly value-list, remove drag and drop, and make edit on row click
2- duplicate value-list (unordered-value-list?) removes drag and drop and make edit on row click
If you tell me,; just remove drag and dropd everywhere it doesn’t work I will go with 1. So far I have done 1, going to 2 is a matter of few minutes.
To make editing the simplest possible I made the following choices:
Click a row will remove it from selection, and put it in “add input”:
If you already had something in “add input” when clicking on a row, this content will be added to selection before being replaced by the content for the clicked row:
I need to push one select-kit improvement, currently select-kit will not expand if you click on it and there are no selectable items left. Even if we allow to create items, in this case I would want it to expand with the create row already displayed and ready to take input.
You can edit an existing input, but the save/cancel buttons will only show when you focusout of the input. I didn’t have a trivial way to fix it for now, will think more about it.