Hi guys, i need a little help with . I’ll give you a code and will explaint what I need to do.
<select-searchable okText="Odaberi" cancelText="Otkaži"
class="inputStyle"
item-content
searchFailText="Nema rezultata"
[(ngModel)]="selectedGood"
[items]="AllGoods"
itemValueField="id"
itemTextField="value"
[canSearch]="true"
[disabled]="!showIfNotSent"
(ionClear)="onClear($event)"
(onChange)="materialChanged($event)">
</select-searchable>
WIth this code I’ve got a list of an items from array, and it’s ok. But I need to get a default value for certain account, such as AIR CONDITION > account number 010, and if user want to change it or edit it can do that within list. Something like binding with *ngFor.
Thanks a lot for help.