Is there a way to connect ngModel values with select-searchable options in Ionic so that default values from localStorage are displayed?
<ion-col col-6>
<select-searchable okText="Select" cancelText="Cancel"
class="inputStyle"
item-content
[(ngModel)]="WarrentItem.deviceManufacturerId"
searchFailText="No results found"
[items]="allManufacturers"
itemValueField="id"
itemTextField="value"
[canSearch]="true"
(ionClear)="onClear($event)"
(onChange)="materialChanged2($event)">
</select-searchable>
</ion-col>
In this code snippet, I have a list of all manufacturers as options. However, I am looking for a solution to automatically set the default value stored in localStorage when opening this form. Thank you.