We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
3.2.33
stackblitz.com
<input>
type
v-model
<input :type="foo" v-model="bar">
{ foo: 'text', bar: 'hello' }
The input should render as <input type="text" value="hello">
<input type="text" value="hello">
The input renders without a value: <input type="text">
<input type="text">
This happens because vModelDynamic in src/directives/vModel.ts doesn't have an SSR equivalent, even though it would be possible to implement one.
vModelDynamic
src/directives/vModel.ts
The text was updated successfully, but these errors were encountered:
fix(ssr): Support vnode v-model when input type is dynamic
d14a188
fix vuejs#5786
fix(ssr): support client-compiled v-model with dynamic type during ssr (
c03459b
#5787) fix #5786
Successfully merging a pull request may close this issue.
Version
3.2.33
Reproduction link
stackblitz.com
Steps to reproduce
<input>
that has a dynamictype
attribute and usesv-model
:<input :type="foo" v-model="bar">
{ foo: 'text', bar: 'hello' }
What is expected?
The input should render as
<input type="text" value="hello">
What is actually happening?
The input renders without a value:
<input type="text">
This happens because
vModelDynamic
insrc/directives/vModel.ts
doesn't have an SSR equivalent, even though it would be possible to implement one.The text was updated successfully, but these errors were encountered: