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
I used ng-keyup to dynamically load options from database as the user types in the keys
<oi-select oi-options="item.name for item in diagnosisList track by item.id" ng-model="model.selectedDiagnosis" ng-keyup="updateDiagnosisList($event);" multiple placeholder="Select"></oi-select>
Hey @ananth17 , thanks for your response. But I didn't mean the options on the dropdown list, but the options used to initialize the control. Like the filters used to render the options and the selected item.
To change the options on the list, I just do it like this: <oi-select oi-options="it.title for it in ctrl.loadItems($query, $selectedAs) track by it.id" ng-model="ctrl.the_item"></oi-select> .. and then in the controler there is the loadItems function:
For example, the search and dropdown filters?
I have tried almost everything. It seems that options are used only at init-time and there is no way to change them afterwards?
Is there a way to achieve this?
The text was updated successfully, but these errors were encountered: