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.5.17] Vuetify Component and Vue Render Function h() #19722

Closed
azampagl opened this issue Apr 30, 2024 · 1 comment
Closed

[Bug Report][3.5.17] Vuetify Component and Vue Render Function h() #19722

azampagl opened this issue Apr 30, 2024 · 1 comment

Comments

@azampagl
Copy link

Environment

Vuetify Version: 3.5.17
Vue Version: 3.4.21
Browsers: Chrome 124.0.0.0
OS: Windows 10

Steps to reproduce

Click on the second input box and type in whatever you want. Then click off and watch it go back to it's initial state.

Expected Behavior

app-text model-value should not go back it's original state on blur.

Actual Behavior

app-text model-value goes back to it's initial value on blur.

Reproduction Link

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

Other comments

Vuetify components don't appear to be keeping the proper model-value state when passed into the vue h() function.

See https://vuejs.org/guide/extras/render-function#v-model

(I could perhaps be misunderstanding how to properly use the vue render ( h() ) function.

@azampagl azampagl changed the title [Bug Report][3.5.17] Vue Component and Render Function [Bug Report][3.5.17] Vuetify Component and Vue Render Function h() Apr 30, 2024
@KaelWD
Copy link
Member

KaelWD commented May 1, 2024

modelValue: propsLegacy.modelValue

setup is only run once, you're always passing the initial value to the text field. This should either be a computed or inside the render function.

@KaelWD KaelWD closed this as not planned Won't fix, can't repro, duplicate, stale May 1, 2024
@github-actions github-actions bot removed the S: triage label May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants