AuiSelect2 not working properly

Hi colleagues.

I have a problem with multiselect in my plugin.

This is default  multiselect example from aui manual.

<form class="aui">
            <select id="select2-example" name="select2-example" multiple="">
                <option value="CONF">Confluence</option>
                <option value="JIRA">JIRA</option>
                <option value="BAM">Bamboo</option>
                <option value="JAG">JIRA Agile</option>
                <option value="CAP">JIRA Capture</option>
                <option value="AUI">AUI</option>
            </select>
            <script>AJS.$("#select2-example").auiSelect2();</script>
        </form>

I try put  it in edit.vm of my customfield to add multiselect support, but got a list of choises of select list. Also i add code below in template.

$webResourceManager.requireResource("com.atlassian.auiplugin:aui-select2")

What i am doing wrong?

1 answer

1 accepted

0 vote
Maarten Cautreels Community Champion May 08, 2017

Hi Александр,

Since the Developer Community and User Community are currently split up, you'd probably get a quicker response if you post this question on the Developer Community.

Hope this helps.

Best,

Maarten

Thanks for your reply. I post my question there. 

Sam Hall Community Champion May 08, 2017

And here's a link to that post for anyone who wants to answer or follow the discussion over there: https://community.developer.atlassian.com/t/aui-select-2-not-working-properly/3542

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Thursday in Off-topic

Friday Fun: Magic Eyes

...staring into the background. Once the image pops out in 3D, you can look around the picture and enjoy. If you will see if you are a true illusion master! :) You did it? :) Wow! Awesome! As a bonus...

414 views 79 11
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you