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(VDateInput): prevent crash when pressing enter during text input #21077

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

Conversation

babu-ch
Copy link
Contributor

@babu-ch babu-ch commented Mar 7, 2025

fix #21072

Description

bug1: crash when pressing enter with empty input
bug2: crash when pressing enter with arbitrary text using adapter

Markup:

<template>
  <v-app>
    <v-container>
      <v-date-input label="Date input"></v-date-input>
    </v-container>
  </v-app>
</template>

@ikushum
Copy link
Member

ikushum commented Mar 18, 2025

This PR is no longer needed since 84746fb does the same thing and was already introduced since 3.1.17
@johnleider Please verify

@MajesticPotatoe MajesticPotatoe added T: bug Functionality that does not work as intended/expected C: VDateInput labs Must be completed for this component to leave labs labels Mar 18, 2025
@babu-ch
Copy link
Contributor Author

babu-ch commented Mar 19, 2025

@ikushum
Bug 2 still occurs in the latest version

@johnleider
Copy link
Member

@ikushum Bug 2 still occurs in the latest version

What are exact steps to reproduce Bug 2? It looks fine to me.

date-input

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VDateInput labs Must be completed for this component to leave labs T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug Report][3.7.15] VDateInput causes error when pressing enter with empty input
4 participants