angular - Refresh select menu after new selected allocation -


i have following select menu, want selected value can changed after dropdown list got loaded.

 <ion-select [(ngmodel)]="selectxx" name="matnr">            <ion-option selected disabled value="">choose matrixnumber...</ion-option>            <ion-option *ngfor="let matnr of matrixnumbers" [selected]="(matnr == selectmatnr) ? true : false">{{matnr}}</ion-option>   </ion-select>  

now have case, selectmatnr can changed during runtime. when assign value selectmatnr, equal matnr, dropdown list not reloaded new selected value (selectmatnr). possible refresh ion-select programmatically ion-option new loaded?


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -