Call change event after update of multiple text string order. (#17899)

This commit is contained in:
Andy Butland
2025-01-07 09:32:52 +01:00
committed by GitHub
parent 1cd9e3e83f
commit f3ecd94a75

View File

@@ -21,13 +21,14 @@ export class UmbInputMultipleTextStringElement extends UmbFormControlMixin<undef
getUniqueOfModel: (modelEntry: string) => {
return modelEntry;
},
identifier: 'Umb.SorterIdentifier.ColorEditor',
identifier: 'Umb.SorterIdentifier.MultipleTextString',
itemSelector: 'umb-input-multiple-text-string-item',
containerSelector: '#sorter-wrapper',
onChange: ({ model }) => {
const oldValue = this._items;
this._items = model;
this.requestUpdate('_items', oldValue);
this.dispatchEvent(new UmbChangeEvent());
},
});