diff --git a/index.html b/index.html index d502b16..d6a512e 100644 --- a/index.html +++ b/index.html @@ -273,7 +273,7 @@

Material select

-
+
You selected: {{select.value1}}
@@ -283,6 +283,26 @@
You selected: {{select.value1}}
<option ng-repeat="value in select.choices">{{value}}</option> </select> + +
+
Multiple select
+
+ +
+
+
You selected: {{select.value3}}
+
+
+
+

+<select class="" ng-model="select.value3" material-select multiple watch>
+    <option ng-repeat="value in select.choices">{{value}}</option>
+</select>
+
+ +
Using class browser-default
@@ -290,7 +310,7 @@
Using class browser-default
-
+
You selected: {{select.value2}}
diff --git a/js/app.js b/js/app.js index c308b71..ac7028c 100644 --- a/js/app.js +++ b/js/app.js @@ -3,6 +3,7 @@ var app = angular.module('materializeApp', ['ui.materialize']) $scope.select = { value1: "Option1", value2: "I'm an option", + value3: ["Option1", "I'm an option"], choices: ["Option1", "I'm an option", "This is materialize", "No, this is Patrick."] };