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
If the options are provided using the select as syntax, the items pop-up dispels immediately after clicking an item when closeList is specified as false (oi-select-options).
closeList behaves as expected (list does not dispel, allowing selection of additional items) when select as is not used.
This works:
<oi-select oi-options="item.name for item in shopArr track by item.id"
ng-model="bundle"
multiple
oi-select-options="{closeList: false}"
placeholder="Select"></oi-select>
This does not work:
<oi-select oi-options="item.id as item.name for item in shopArr"
ng-model="bundle"
multiple
oi-select-options="{closeList: false}"
placeholder="Select"></oi-select>
…: false" when options are provided using "select as" syntax
The idea here is to update scope.groups (which was previously cleared) based on the selection
Also updated multiple example w/ keep-list-open to demonstrate fix
If the options are provided using the select as syntax, the items pop-up dispels immediately after clicking an item when
closeList
is specified asfalse
(oi-select-options
).closeList
behaves as expected (list does not dispel, allowing selection of additional items) whenselect as
is not used.This works:
This does not work:
Plunker demonstrating the problem: http://plnkr.co/edit/Dvbj5WDGGbgg20iQJkKj?p=preview
The text was updated successfully, but these errors were encountered: