Hi Guys!
So im using ADMINLTE and Select2 i want to have some invisible “tags” that user can search for them in the select are like this:
<div class="form-group">
<label>Minimal</label>
<select class="form-control select2" style="width: 100%;">
<option selected="selected">Alabama</option>
<option>Alaska <tag hidden>Alias1</tag> <tag hidden>Alias2</tag></option>
<option>California</option>
<option>Delaware</option>
<option>Tennessee</option>
<option>Texas</option>
<option>Washington</option>
</select>
</div>
This is just a example, could be another way like
<option tags="tag1;tag2">Alaska</option>
So if the user start type Alias1 will show alaska but not the tags.
its a simple form so i load al the options as a html, jo ajax or any fancy stuff.
Any way to make this work?
Thx guys!