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): recursive update when using hide-actions #17914

Merged
merged 2 commits into from
Aug 8, 2023

Conversation

nekosaur
Copy link
Member

Description

closes #17867, closes #17872

Markup:

<template>
  <v-app>
    <v-container>
      <v-date-picker v-model="selectedDate" />
      <v-date-picker v-model="selectedDate" hide-actions />
    </v-container>
  </v-app>
</template>

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

  const selectedDate = ref(new Date())

  watch(
    () => selectedDate.value,
    newValue => {
      console.log(`selectedDate changed to: ${newValue}`)
    }
  )
</script>

@nekosaur nekosaur added this to the v3.3.x milestone Jul 29, 2023
@nekosaur nekosaur added the C: VDatePicker VDatePicker label Jul 29, 2023
@nekosaur nekosaur requested a review from johnleider July 29, 2023 13:03
@johnleider johnleider added the T: bug Functionality that does not work as intended/expected label Aug 1, 2023
@johnleider
Copy link
Member

I verified all tests locally.

@johnleider johnleider merged commit 6f30e56 into master Aug 8, 2023
15 of 18 checks passed
@johnleider johnleider deleted the fix/datepicker-recursive-update branch August 8, 2023 20:13
prashantsinghb pushed a commit to prashantsinghb/vuetify that referenced this pull request Aug 9, 2023
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
2 participants