Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit 8845afd

Browse files
committed
Merge pull request #272 from jmcpeak/master
All these combinations will now work:
2 parents d8017a2 + 96d69d7 commit 8845afd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/select.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@
590590

591591
var searchInput = element.querySelectorAll('input.ui-select-search');
592592

593-
$select.multiple = angular.isDefined(attrs.multiple);
593+
$select.multiple = (angular.isDefined(attrs.multiple)) ? (attrs.multiple === '') ? true : (attrs.multiple.toLowerCase() === 'true') : false;
594594

595595
$select.onSelectCallback = $parse(attrs.onSelect);
596596
$select.onRemoveCallback = $parse(attrs.onRemove);

0 commit comments

Comments
 (0)