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(VTimePicker): Stop Propagation on events #19569

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

blalan05
Copy link
Member

@blalan05 blalan05 commented Apr 9, 2024

<template>
  <v-app>
    <v-main>
      <v-container>
        <v-row>
          <v-col>
            <v-menu>
              <template #activator="{ props }">
                <v-text-field v-bind="props" v-model="thisDate" readonly></v-text-field>
              </template>
              <v-time-picker v-model="thisDate" format="24hr" />
            </v-menu>
          </v-col>
        </v-row>
      </v-container>
    </v-main>
  </v-app>
</template>
<script setup>
  import { ref } from 'vue'

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

@blalan05
Copy link
Member Author

blalan05 commented Apr 9, 2024

This seems to fix the issue(s) seen on #19547, however, after selecting value the clock doesn't close when v-model is updated. We need to determine the UX here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VTimePicker VTimePicker labs S: stale This issue is untriaged and hasn't seen any activity in at least six months.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug Report][3.5.14] VTimePicker closes VMenu unexpected - unable to set time in 24hr format
2 participants