Hi,
I'm using "ui multiple fluid search selection dropdown" component, my scenario is that on page load, I want to set default values for dropdown with different display text & actual hidden field value, say, I want to add two user info by default "user1, user2", which are displayed, but I want the hidden value to be the actual login names, say "
u...@xx.com,
u...@xx.com". Here's my html fragment:
<div class="ui fluid multiple search normal selection owner dropdown">
<i class="dropdown icon"></i>
<input type="hidden" id="owner" name="owner" value="$!topology_owner.owner"/>
<input class="search" autocomplete="off" tabindex="0">
</div>
the problem is, if I set the value of the hidden input to "
u...@xx.com", it will actually display "
u...@xx.com" instead of desired "user1" on the page. So is there a way to do this? Thanks