Multi & Single Select Box for ionic app
Download/clone the repo: Require file
<script src="https://github.com/umar-siddiqui/ion-select-autocomplete/raw/master/lib/ion-select-autocomplete/ion-select-autocomplete.js" type="text/javascript"></script>
In JS
$scope.optionList = [
{
label: 'India',
value: 'IND'
},
{
label: 'United States',
value: 'US'
}
];
$scope.model = null;
In HTML
<label class="item item-input">
<span class="input-label">Choose Country</span>
<ion-select-autocomplete multiselect="true"
output="model"
header="Choose Country"
label-key="label" value-key="value"
options="optionList">
</ion-select-autocomplete>
</label>