I’m trying to use Atlassian AUI in my new plugin project and can’t make it work with Atlassian AUI properly.
I’m working on list project names in a select list and following the tutorial at AUI Select2 - AUI Documentation
I want to show select list with design in tutorial. But it does not seems like it.
Here is my code for list project names:
<form id="admin" class="aui"> <select id="select2-example2"> <option value="null"> Please select a project </option> #foreach( $pName in $pNames ) <option value="$pName"> $pName </option> #end </select> </form>
Here is the result (screenshot):
Additional note: I added
$webResourceManager.requireResource(“com.atlassian.auiplugin:aui-select2”) # line at the top of my Velocity Template but there is no difference.
Looking for your help.