Skip to content

Instantly share code, notes, and snippets.

@AlexanderArmua
Last active March 21, 2016 17:31
Show Gist options
  • Save AlexanderArmua/7104d9933cf310fd0db2 to your computer and use it in GitHub Desktop.
Save AlexanderArmua/7104d9933cf310fd0db2 to your computer and use it in GitHub Desktop.
Desplegable para suplantar al ui-select 2, no scrollea pero el filtro lo hace mediante html y no por javascript
<input list="browsers">
<datalist id="browsers">
<option data-value="5" value="qwe">
<option data-value="4" value="asd">
<option data-value="3" value="zxc">
<option data-value="2" value="rty">
<option data-value="1" value="fgh">
</datalist>
<input list="browsers" name="browser">
<datalist id="browsers">
<option ng-repeat="c in contactos | orderBy: 'apellidos' | filter:puedeAgregar" data-value="{{c._id}}" value="{{c.apellidos}} {{c.nombre}}">
</datalist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment