Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Atlassian aui single select isn't rendered in velocity template

I'm trying to add single select to my Jira Plugin according to aui documentation I added dependency to plugin.xml:

<dependency>com.atlassian.auiplugin:aui-select</dependency>

And added related code to velocity template:

    <form class="aui" action="" id="sync-single-select-container-form">
        <label for="sync-product-single-select">Choose your product synchronously:</label>
        <p>
            <aui-select name="product" id="sync-product-single-select">
                <option>Hipchat</option>
                <option>JIRA</option>
                <option>Confluence</option>
                <option>Stash</option>
                <option>FeCru</option>
            </aui-select>
        </p>
    </form>

but in html I just get list of options, not drop-down list: http://prntscr.com/5sjhgw What could be wrong?

like image 231
Darya Golub Avatar asked Sep 18 '25 16:09

Darya Golub


1 Answers

Did you import the aui-select

#requireResource("com.atlassian.auiplugin:aui-select")

Through this code, put this at the top of vm file

like image 65
Saurabh Gupta Avatar answered Sep 21 '25 07:09

Saurabh Gupta