Skip to content

Commit d27a1c9

Browse files
committed
fix uiselectmultiple initialization
1 parent 3b15ab5 commit d27a1c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/uiselectmultiple.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
<div class="form-group" ng-class="{'has-error': hasError(), 'has-success': hasSuccess(), 'has-feedback': form.feedback !== false}"
3-
ng-controller="dynamicSelectController" ng-init="uiMultiSelectInitInternalModel($$value$$)">
3+
ng-controller="dynamicSelectController" ng-init="$$value$$=$$value$$||[];uiMultiSelectInitInternalModel($$value$$)">
44
<label class="control-label" ng-show="showTitle()">{{form.title}}</label>
55
<div class="form-group">
66
<ui-select multiple sortable-options="{{form.sortableOptions}}" ng-model="internalModel" theme="bootstrap"

0 commit comments

Comments
 (0)