I am developing an application based on Confluence plugin. There is one feature that requires the UI textbox to supports the auto completion of user name. In the backend, we need to retrieve the list of user email addresses submitted from UI.
What is the hint / documentation to achieve the above effect? I did try to research by googling and searching in Atlassian forum with keyword like autocompletion for plugin development, but it has no result. :(
Thank you very much!
There are multiple options, I would definitely recommend you use AUI objects (Atlassian User Interface framework). The Select2 is the one I use for my plugins, you can preload users and add options to the select2, it will then support autocompletion based on the value displayed in the option. You can also setup the select2 to be fed from a REST Resource (might be compliant with expected format though).
Documentation here: https://docs.atlassian.com/aui/latest/docs/auiselect2.html
Please note that it must be dependency-injected in your web resources!
Hope this helps!
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Community, Jessica here from the Confluence Product Marketing team! July’s community challenge is all about sharing pictures — and as an extension of our first post on what ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs