Fix Et2SelectEmail and pass email tags again

Still doesn't work though
This commit is contained in:
nathan 2023-11-17 14:31:23 -07:00
parent d07af215c1
commit 6fcbf87a10

View File

@ -120,7 +120,7 @@ export class Et2SelectEmail extends Et2Select
if(!this.readonly && this.allowFreeEntries && this.allowDragAndDrop)
{
let dragTranslate = {x: 0, y: 0};
const tags = this.shadowRoot.querySelectorAll(".select__tags [part='tag']");
const tags = Array.from(this.shadowRoot.querySelectorAll(".select__tags et2-email-tag"));
let draggable = interact(tags).draggable({
startAxis: 'xy',
listeners: {