a picklist in angular js
JavaScript HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.settings
src
.classpath
.gitignore
.project
LICENSE
README.mediawiki
pom.xml

README.mediawiki

Table of Contents

picklist

a picklist in angular js

requirement

angularjs and bootstrap.css

Usage

download

  1. add picklist.js after angular.js. Make your module depends on fxpicklist
  2. <picklist name="pktest" size="20" data-picklist="" data-pick-model="tselected" data-pick-options="v.name for v in toptions"></picklist>
    1. 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
    2. name: the name the form control field. A subform with this name will be attached under parent form
    3. size: how tall the picklist
    4. data-pick-model: model to be bound

Example

Example in Plunker

test

run mvn test

License

MIT