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

[Bug Report][3.3.16] VTextField clears model value to null instead of empty string #18247

Closed
KazimirPodolski opened this issue Sep 13, 2023 · 1 comment
Labels
S: stale This issue is untriaged and hasn't seen any activity in at least six months. S: triage

Comments

@KazimirPodolski
Copy link

Environment

Vuetify Version: 3.3.16
Vue Version: 3.3.4
Browsers: Chrome 116.0.0.0
OS: Linux x86_64

Steps to reproduce

  1. Make a <v-text-field clearable v-model="model"/>
  2. Press clear icon
  3. model is null

Expected Behavior

Clears to empty string. Text field types doesn't help to expect this.

Actual Behavior

Clears to null.

Reproduction Link

https://play.vuetifyjs.com/#...

Other comments

Lots of reasoning in #4144.

@ponahoum
Copy link

Agree that this should be fixed, very annoying to upgrade your whole api to support null values instead of empty strings

@github-actions github-actions bot added the S: stale This issue is untriaged and hasn't seen any activity in at least six months. label Mar 22, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S: stale This issue is untriaged and hasn't seen any activity in at least six months. S: triage
Projects
None yet
Development

No branches or pull requests

2 participants