Skip to main content

Posts

Showing posts with the label angularjs multiple selection dropdown ng options

AngularJs multiple selection dropdown ng-options

How to selecting multiple items in angularjs ng-options? The multiple selection ng-options use to select the multiple items from the multi  select drop-down. The multiple selection options binding is very similar to the option binding but only one difference,  the difference is  must need to add an attribute multiple is true. i.e. < select ng-model ="user.name" multiple ="true"   ng-options ="user.name for user in users"></ select > Go to live demo link http://embed.plnkr.co/iFNpGF/preview The Table of context for select multiple items from multiple selection drop-down as given below.             1. The HTML code for added selection attribute multiple is true.             2. The JSON for Users collection.             3.  The Angular code for write an angular controller use ...