i using selectable to choice currency code and when I select currency , example i select ‘AUD’ but the header.state[2][‘value’] always result empty. and syntax code as below
html :
Currency Code
<ionic-selectable [(ngModel)]=“header.state[2][‘value’]” itemValueField=“value”
itemTextField=“internalValue” [items]=“ports” [canSearch]=“true”
[hasInfiniteScroll]=“true” (onSearch)=“searchCrcd($event)”
(onInfiniteScroll)=“getMoreCrcd($event)”>
on page.ts
header= {
state:[
{
controlID: “24”,
value: ‘’
},
{
controlID: “715”,
value: ‘’
},
{
controlID: “649”,
value: ‘’
},
]
};
how to add value into header.state[2][‘value’] ? the result should be header.state[2][‘value’]=‘AUD’
1 post - 1 participant