@ayesha.soft/vue-searchable-select
v1.0.0
Published
``` <vue-searchable-component :newTag="false" :options="suppliers.map(function (supplier) { return { text: supplier.name, id: supplier.id }
Downloads
40
Readme
<vue-searchable-component
:newTag="false"
:options="suppliers.map(function (supplier) {
return {
text: supplier.name,
id: supplier.id
}
})"
:placeholder="'Select Supplier'"
@input="(data)=>{this.product_form.suppier_id = data.id ?? null}">
</vue-searchable-component>
<vue-searchable-component
:newTag="true"
:apiUrl="'products-items'"
:placeholder="'Search Medicine Item '"
@input="setSelectedProduct">
</vue-searchable-component>