Custom Select Box Directive For AngularJS

Views Total:2,217 views
Official Page:Go to website
Publish Date:November 23, 2014


An AngularJS directive for creating custom select box. It accepts flat list such as [1, 2, 3, 4, 5], but you can also provide array of object which has to be formatted as follows:

[{id: 1, name: 'item 1'}, {id: 2, name: 'item 2'}, {id: 3, name: 'item 3'}]


angular-selectbox flat array

Flat array (Single select)

angular-selectbox Array of objects

Array of objects (Single select)

angular-selectbox multi select

Array of objects (multi select)

You Might Be Interested In:

Add Comment