yii2-multiple-input
yii2-multiple-input copied to clipboard
Can't work inner drag column inside another drag column
If I put nested
'type' => MultipleInput::class,
'options' => [
'sortable' => true,
inside to
])->widget(MultipleInput::class, [
'sortable' => true,
the inner drag moving to outer drop zone
according to the widget documentation that we use for sorting, it supports nested sorting. So we have to dig deeper and fix the issue
wrong selector may be?
I didn't investigate yet, just checked the plugin docs and found out that nested sorting is supported
It seems that we can rewrite sorting using native drag and drop functionality (https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_and_Drop_API)
After migration to SortableJs (see 977ca80c115fbfc1293dbe0eb811c754f6637964) the issue is not reproducible anymore. I close the issue.