You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/error/compile/selmulti.ngdoc
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2,3 +2,19 @@
2
2
@name $compile:selmulti
3
3
@fullName Binding to Multiple Attribute
4
4
@description
5
+
6
+
Binding to the `multiple` attribute of `select` element is not supported since switching between multiple and single mode changes the {@link api/ng.directive:ngModel `ngModel`} object type from instance to array of instances which breaks the model semantics.
7
+
8
+
If you need to use different types of `select` elements in your template based on some variable, please use {@link api/ng.directive:ngIf ngIf} or {@link api/ng.directive:ngSwitch ngSwitch} directives to select one of them to be used at runtime.
0 commit comments