An open API service indexing awesome lists of open source software.

https://github.com/lgsinnovations/angularjs-combo-box

angular 1.x directive allowing input in a natively styled select
https://github.com/lgsinnovations/angularjs-combo-box

Last synced: about 1 year ago
JSON representation

angular 1.x directive allowing input in a natively styled select

Awesome Lists containing this project

README

          

# angularjs-combo-box
angular 1.x directive allowing input in a natively styled select

This project is obviously not well documented yet, but we're starting by adding ad hoc bullets to Usage Notes as we encounter the need for documentation.

## Usage Notes
* Accepts base options via options attribute.
* Example 1: ``````
* Example 1: ``````
* Watches options *reference*, not its value, so
* This works in controller: ```this.opts = this.opts.concat([{value: 'second option'}]);```
* But this does not work: ```this.opts.push({value: 'second option'});```
* In other words, replace push/unshift with concat and replace pop/shift with slice.