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

feat(VDatePicker): add "click:date" event #21040

Conversation

luizhenriquerdias
Copy link

Description

resolves #21038

Markup:

<template>
  <v-app>
    <v-container>
      <v-date-picker
        @click:date="clickedDate = $event"
      />

      <p v-if="!clickedDate">Click on any date</p>
      <p v-else>Clicked date: {{ clickedDate }}</p>
    </v-container>
  </v-app>
</template>

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

  const clickedDate = ref(null)
</script>

@luizhenriquerdias luizhenriquerdias deleted the feat/21037-v-date-picker-click-date-event branch February 28, 2025 05:13
@luizhenriquerdias luizhenriquerdias restored the feat/21037-v-date-picker-click-date-event branch February 28, 2025 05:15
@luizhenriquerdias luizhenriquerdias deleted the feat/21037-v-date-picker-click-date-event branch February 28, 2025 05:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant