Skip to content
New issue

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

autoApply don't work with yearPicker #138

Closed
ClementLong opened this issue Sep 9, 2022 · 0 comments
Closed

autoApply don't work with yearPicker #138

ClementLong opened this issue Sep 9, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@ClementLong
Copy link

Describe the bug
autoApply don't work with yearPicker

To Reproduce

<template>
  <div>
    <Datepicker v-model="date" autoApply yearPicker />
  </div>
</template>

<script setup>
import { ref } from 'vue';
import Datepicker from '@vuepic/vue-datepicker';
import '@vuepic/vue-datepicker/dist/main.css';

const date = ref();
</script>

or

https://stackblitz.com/edit/vuepic-vue-datepicker-gj8r96?file=src%2Fcomponents%2FPlayground.vue

Expected behavior
When click on year, the datepicker should close

Desktop & mobile (please complete the following information):
Tested on desktop only

@ClementLong ClementLong added the bug Something isn't working label Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant