Table of Contents |
picklist
a picklist in angular js
requirement
angularjs and bootstrap.css
Usage
- add picklist.js after angular.js. Make your module depends on fxpicklist
- <picklist name="pktest" size="20" data-picklist="" data-pick-model="tselected" data-pick-options="v.name for v in toptions"></picklist>
- data-pick-options has the same syntax as ngOptions for select element. The return value from the expression has to be an array. Object is not supported right now
- name: the name the form control field. A subform with this name will be attached under parent form
- size: how tall the picklist
- data-pick-model: model to be bound
test
run mvn test
License
MIT