We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I'm getting a typescript build error on build my project
the error I'm getting is on the line isSelected(option)
isSelected(option)
This expression is not callable. Type 'Boolean' has no call signatures.
<Multiselect mode="multiple" :hide-selected="false" ... > <template #option="{ option, isSelected }"> <div class="inline-flex items-center space-x-2"> <span v-if="isSelected(option)"> <CheckIcon class="h-5 w-5" /> </span> <span>{{ option.label }}</span> </div> </template> </Multiselect>
https://jsfiddle.net/m0dskf24/
The text was updated successfully, but these errors were encountered:
for now my workaround is
<Multiselect mode="multiple" :hide-selected="false" ... > <template #option="{ option, isSelected }"> <div class="inline-flex items-center space-x-2"> <span v-if="//@ts-expect-error isSelected(option) "> <CheckIcon class="h-5 w-5" /> </span> <span>{{ option.label }}</span> </div> </template> </Multiselect>
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Version
Description
Hi, I'm getting a typescript build error on build my project
the error I'm getting is on the line
isSelected(option)
Error:
This expression is not callable.
Type 'Boolean' has no call signatures.
Code
Demo
https://jsfiddle.net/m0dskf24/
The text was updated successfully, but these errors were encountered: