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
I have :
const popover = ref({ visibility: "click", });
1/ When I click on a date-picker, the popover opens.
2/ If I click on another date-picker, the first one doesn't close.
I can open an infinite number of popovers.
The text was updated successfully, but these errors were encountered:
I encountered the same issue, so I created a workaround by developing a function that closes all popovers and opens the selected one:
<script setup lang=ts> const dates = ref([ { key: "popover1", selectedDate: "", placeholder: "Select Date 1", popoverState: false, }, { key: "popover2", selectedDate: "", placeholder: "Select Date 2", popoverState: false, }, // add more popover as you like ]); const openPopover = (popoverKey: string) => { dates.value.forEach((date) => { date.popoverState = date.key === popoverKey; }); }; </script> <template> <input type="text" v-model="date.selectedDate" @focus="openPopover(date.key)" /> </template>
Sorry, something went wrong.
No branches or pull requests
I have :
1/ When I click on a date-picker, the popover opens.
2/ If I click on another date-picker, the first one doesn't close.
I can open an infinite number of popovers.
The text was updated successfully, but these errors were encountered: