-
Notifications
You must be signed in to change notification settings - Fork 151
Closed
Labels
Description
I use with Vue 3 with TypeScript as code below
<template>
<Multiselect
valueProp="id"
label="name"
:options="getCategories"
:searchable="true"
ref="selectCategory"
/>
</template>
<script setup lang="ts">
import Multiselect from "@vueform/multiselect";
...
const selectCategory = ref<InstanceType<typeof Multiselect>>();
...
</script>
When I call select
method it work fine in development, but when I build it get error
selectCategory.value.select(data);
Property 'select' does not exist on type 'Multiselect'.
mergeMarc and EnguGHn14s