-
Notifications
You must be signed in to change notification settings - Fork 141
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
[Question] How to use multiple v-model in ts #584
Labels
question
Further information is requested
Comments
@colgin, it will take a lot of time write, but checkout this component and if you have any questions you are free to ask. |
没看明白,能都简单明了? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🧐 Problem Description
According the doc, we can use v-model like
we can use multiple v-model with differectn argument like
but, if we use tsx, ts will throw a error like "TS17001: JSX elements cannot have multiple attributes with the same name."
Although, I don't think it's a issue of babel-plugin-jsx, see ts playground, I want to know any workaround except using prop + event handler
💻 Sample code
🚑 Other information
The text was updated successfully, but these errors were encountered: