Template refs on v-bind not working, is this intended? #6331
Unanswered
mirumirumi
asked this question in
Help/Questions
Replies: 2 comments
-
this method seems to work.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
@mirumirumi You are actually supplying a string in the @xl495 is right, just replace |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
When I use template refs, I wanted to add
:
like v-bind to distinguish them from other native HTTP Attributes.However, Vue 3 does not seem to allow this writing style.
Does anyone request this writing style?
In the code below, replace
ref="xxx"
and:ref="'xxx'"
to see the difference in behavior.sandbox: https://sfc.vuejs.org/#eNp9UcFqwzAM/RXhUwetzdgtpIXddlhvOxpK2qid28Q2spNSQv59cuKNdoPdnq2n9/SkQbx6L/sORSHKiK1vqogbbQHK2vQTmCEQHtdaXE1T72JHF7ztnl+0yAyAmoy9GHvKHeque08ZWXctYBigrmIF4zi5ZGKp7sz5GQ5kfISAsfPQVPbE3jFMfqb1jiIM4OzWdTZivUzDwQhHci1owWm0SCoHZ0Oc3daJstCCTeJNi6fv4mOeTOOqtj/qi8UTrDcwpHGTluyrpkOmPvbO39JYi/T2sX3XdmSdUs1JNmIp5sFXbeXlOTjLG580dS5wOt7OvKkcomDwGaMPhVLheEh3Ogfp6KQYSeLxTIsSQ7vak7sGJBbWYnmnofizR1oR2hoJ6T/NX9Q/ukmWjzaK8QsFecEW
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions