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
- Host: GitHub
- URL: https://github.com/lgsinnovations/angularjs-combo-box
- Owner: LGSInnovations
- License: isc
- Created: 2016-07-25T18:05:14.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-19T22:05:19.000Z (almost 10 years ago)
- Last Synced: 2025-02-17T02:28:17.575Z (over 1 year ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 1
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.