πŸ‡ΊπŸ‡ΈUnited States @mtovey

Account created on 9 July 2008, over 16 years ago
#

Recent comments

πŸ‡ΊπŸ‡Έ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);

Production build 0.71.5 2024