Hello,
I want to implement select with the search but I am not able to do so and not even found any example of select with search on Vue demo.
// Select element
<!--begin::Select-->
<Field name="productId" data-control="select2" data-hide-search="true" data-placeholder="Select Product" class="form-select form-select-solid" as="select" v-model="apiData.productId" @change="setAdditionalOption(apiData.productId)">
<option value="">Select Product</option>
<option v-for="productDetail in product" :value="productDetail.product_id" :key="productDetail">
{{productDetail.product_name}}
</option>
</Field>
<div class="fv-plugins-message-container">
<div class="fv-help-block">
<ErrorMessage name="productId" />
</div>
</div>
<!--end::Select-->
You can use Element Plus select components with a filterable option.
https://element-plus.org/en-US/component/select.html#option-filtering
Or Vue-multiselect plugin
https://preview.keenthemes.com/metronic8/vue/docs/#/vue-select#example4
To enable a search set searchable: true,
.