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 have two arrays of objects in my controller, $scope.markets and $scope.mts
both are put on the page in the same way:
<selectid="selectMarket" placeholder="Select Market for Flight"
ng-options='market.name for market in markets'
ng-model='selectedMarket'
selectize="{ labelField: 'name', valueField: 'id' }"></select>
and
<selectid="selectMT" placeholder="Select Media Types for Flight"
ng-options='mt.name for mt in mts'
ng-model='selectedMediaTypes'
selectize="{sortField: 'name'}"></select>
but it appears that ngOptions is not running for the second, as it never has any options.
Anything I need to do special to get more than one angular-selectize on the page?
The text was updated successfully, but these errors were encountered:
I have two arrays of objects in my controller, $scope.markets and $scope.mts
both are put on the page in the same way:
and
but it appears that ngOptions is not running for the second, as it never has any options.
Anything I need to do special to get more than one angular-selectize on the page?
The text was updated successfully, but these errors were encountered: