angularjs - Items in ng-options not updating to selected language -


my issue options in dropdown menus not changing correct language. example if go english chinese else update fine, items in drop down won't until after select 1 of options in list, change appropriate language. however, of other dropdown menus remain untranslated until interacted first one. there way me force them update after change language it's being displayed in?

here's example of 1 of dropdown menus

<label class="col-md-3 col-xs-6">                 <span translate="chart"></span>                 <select class="form-control" ng-model="report.chart" ng-options="c | translate c in charts" ng-change="setcharttype(report)">                 </select> </label> 


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -