Hi,
I have a macro that takes into parameters some label. For a proper UX experience, I would like to mimic the behavior of the "Content by label" macro with regards to the labels autocomplete and the load of the previous parameters.
I feel I am close to achieve my goal, but with my current code ( https://community.atlassian.com/t5/Confluence-questions/Custom-autocomplete-multi-select-in-MacroBrowser/qaq-p/610086#U1008901 ), if the macro had previously some labels, and i try to remove those labels, it end up opening a new tab for some reasons.
I have been trying
preventDefault()
but I dont manage to fix this issue.
Any idea ?