Hello,
I'm using async single select component like:
<aui-select id="select-user" name="user" onchange="onChangeUser()" src="$contextPath/rest/stplus/1.0/users" placeholder="Select user"></aui-select>
So i try to create user picker. On load modal with this component i have in my context initial user like '$user'.
Please tell me how can I set this user in single select, then fire change method that will call for response from src, and then select user from $user
I already try to
$('select-user input').val('$user')
$('select-user').change().trigger('change')
but it does not call select change method nor call src endpoint