Skip to content

fix(VDateInput): accept value when picker is hidden #21273

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

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

Conversation

J-Sek
Copy link
Contributor

@J-Sek J-Sek commented Apr 16, 2025

Description

[Enter] should not clear the input.

related to #21221

Markup:

<template>
  <v-app>
    <v-container>
      <pre>value: {{ value }} | {{ typeof value }}</pre>
      <v-date-input v-model="value" />
    </v-container>
  </v-app>
</template>

<script setup>
  import { ref } from 'vue'
  const value = ref()
</script>

@J-Sek J-Sek self-assigned this Apr 16, 2025
@J-Sek J-Sek added T: bug Functionality that does not work as intended/expected C: VDateInput labels Apr 16, 2025
@J-Sek J-Sek force-pushed the fix/vdateinput-typing-without-picker branch from d6646c6 to bc66b7e Compare April 16, 2025 08:06
Copy link
Member

@ikushum ikushum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@ikushum
Copy link
Member

ikushum commented Apr 16, 2025

Looks like there are lint issues

@J-Sek J-Sek requested a review from johnleider April 16, 2025 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VDateInput T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants