Skip to content

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

Closed
@amazy

Description

@amazy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions