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

fix(VDatePicker): fix select current month or year #19153

Conversation

SonTT19
Copy link
Contributor

@SonTT19 SonTT19 commented Feb 2, 2024

Description

fixes #19132

Markup:

<template>
  <v-app>
    <v-container>
      <v-date-picker v-model="date" view-mode="months" />
      <v-date-picker v-model="date" view-mode="year" />
      <v-date-picker v-model="date" />
    </v-container>
  </v-app>
</template>

<script setup>
  import { ref } from 'vue'

  const date = ref(new Date())
</script>

@MajesticPotatoe MajesticPotatoe added T: bug Functionality that does not work as intended/expected C: VDatePicker VDatePicker labels Feb 9, 2024
@KaelWD KaelWD force-pushed the master branch 3 times, most recently from cd170f8 to 98e57dc Compare February 14, 2024 06:14
@johnleider johnleider force-pushed the fix/19132-fix-select-current-month-or-year branch from 3cd2515 to c35f38e Compare February 21, 2024 20:57
@johnleider johnleider added this to the v3.5.x milestone Feb 21, 2024
@johnleider johnleider merged commit 25bbb7c into vuetifyjs:master Feb 21, 2024
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VDatePicker VDatePicker T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request] v-date-picker view-mode should change when clicking current year/month
3 participants