Hello folks,
My plugin is almost completed and I am just fixing up a few things...
One of my issues right now is that I created a Soy template that I use to populate a dialog in the Macro "Edit" mode. The template does have multiple AutoComplete fields for user pickers.
When I create a new macro, the dialog shows up and the AutoComplete fields do work as expected.
However, part of the dialog has a dropdown selection and when the user selects a different option, my code calls the proper Soy templates and refreshes the dialog content. When that happens, all autoComplete fields lose their bindings and then act as normal input field without auto-complete.
Since the user changing the drop down choice is done post-render, how can I make the fields to display the auto-complete behavior?
I did use "AJS.Confluence.Binder.autocompleteUserOrGroup()" when the dialog changes, but it does not rebind the fields.
The stange thing is that if I close the dialog and re-open it, all fields are now bound again?!?
Thanks for helping!
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.