- πΊπΈUnited States mtovey
Attaching a patch that changes the module js as @sic outlined earlier. This then allows subsequent js code with a reference to the HTML widget element to access the properties/methods from the MultipleWidget setup method. For example:
let widgetObject = jQuery('#autocomplete-deluxe-input').data('autocomplete_deluxe_widget');
let itemInit = {
label: 'Create a new tag: #Sample tag',
value: 'Sample tag',
newTerm: true
};
widgetObject.addValue(itemInit);