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] Vuetify textarea mishandling null/undefined input on SSR (Nuxt) #9559

Closed
perezd opened this issue Nov 3, 2019 · 2 comments
Closed
Labels
C: VTextarea VTextarea T: bug Functionality that does not work as intended/expected upstream Problem with a third party library that we may have to work around

Comments

@perezd
Copy link

perezd commented Nov 3, 2019

Environment

Vuetify Version: 2.1.9
Vue Version: 2.6.10
Browsers: Chrome 78.0.3904.70
OS: Linux x86_64

Steps to reproduce

Set text area to a value of null/undefined and render component using SSR mode.

Expected Behavior

Would expect null/undefined values to be not stringified and set as internal value.

Actual Behavior

null/undefined values appear to be stringified and set as initial value in SSR mode.

Reproduction Link

https://codesandbox.io/s/codesandbox-nuxt-vdcv8

Other comments

This is limited to how Vue is interacting w/ Nuxt SSR from what I can tell, originally I thought this was a Nuxt issue but they told me it isn't and to file it here instead. (nuxt/nuxt#6639)

If I wrap the v-textarea component in client-only the problem disappears, definitely a SSR issue.

@ghost ghost added the S: triage label Nov 3, 2019
@KaelWD
Copy link
Member

KaelWD commented Nov 6, 2019

This seems like vuejs/vue#9231 but with domProps instead of style

@KaelWD KaelWD added C: VTextField VTextField T: bug Functionality that does not work as intended/expected upstream Problem with a third party library that we may have to work around and removed S: triage labels Nov 6, 2019
@KaelWD
Copy link
Member

KaelWD commented Nov 6, 2019

Opened vuejs/vue#10803

@KaelWD KaelWD closed this as completed Nov 6, 2019
@KaelWD KaelWD added C: VTextarea VTextarea and removed C: VTextField VTextField labels Nov 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VTextarea VTextarea T: bug Functionality that does not work as intended/expected upstream Problem with a third party library that we may have to work around
Projects
None yet
Development

No branches or pull requests

2 participants