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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.