Skip to content

Unable to enter a date past 1970 with the text-input in range mode #1082

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

Closed
amazy opened this issue Feb 19, 2025 · 0 comments · Fixed by #1084
Closed

Unable to enter a date past 1970 with the text-input in range mode #1082

amazy opened this issue Feb 19, 2025 · 0 comments · Fixed by #1084
Labels
bug Something isn't working

Comments

@amazy
Copy link

amazy commented Feb 19, 2025

Describe the bug
If typing 01/01/1970 in the text-input, the date picker selects the day correctly.
If typing 01/01/1971 the date picker does not select the day.

To Reproduce
Playground.vue code (with v 11.0.1)

<template>
  <div>
    <Datepicker
      v-model="date"
      format="MM/dd/yyyy"
      preview-format="MM/dd/yyyy"
      text-input
      range
    />
  </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>
20250219-0926-59.6216995.mp4
@amazy amazy added awaiting triage The issue is not reviewed by the maintainers bug Something isn't working labels Feb 19, 2025
amazy added a commit to orthanc-server/orthanc-explorer-2 that referenced this issue Feb 19, 2025
@Jasenkoo Jasenkoo removed the awaiting triage The issue is not reviewed by the maintainers label Mar 15, 2025
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

Successfully merging a pull request may close this issue.

2 participants