Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,559,321
Community Members
 
Community Events
184
Community Groups

AuiSelect2 not working properly

Александр Верзаков
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 08, 2017

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?

2 answers

1 accepted

0 votes
Answer accepted
Maarten Cautreels
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
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

Александр Верзаков
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 08, 2017

Thanks for your reply. I post my question there. 

Sam Hall
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
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

Александр Верзаков
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 10, 2017

resolution on link abowe

Hi Александр,

it seems you are missing some of the external dependencies, which must be defined in your layout template.

<link rel="stylesheet" type="text/css" href="https://unpkg.com/@atlassian/aui@9.4.0/dist/aui//aui-prototyping.css"/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/sinon.js/1.15.4/sinon.js"></script>
<script src="https://unpkg.com/@atlassian/aui@9.4.0/dist/aui//aui-prototyping.js"></script>

 

Now it should work ;)

 

Greets

Julius 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events