Hi,
I use javascript a autocomplete field like mentioned on this page: https://developer.atlassian.com/server/confluence/javascript-components
My problem, I use the field in a dialog whose code will be injected in the dom later, hence the autocomplete feature does not work reliable, sometimes it works, sometimes not. I think I have to call some kind of binding method to notify confluence, that a ne element is present and should be part of the autocomplete feature.
Any suggestions?
I think, I found something:
AJS.Confluence.Binder.autocompleteUserOrGroup(document.getElementById("..."));
AJS.Confluence.Binder.autocompleteUserOrGroup(); // for document.body
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.