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

Eror with dynamic prop name #555

Closed
Djaler opened this issue Oct 4, 2021 · 1 comment
Closed

Eror with dynamic prop name #555

Djaler opened this issue Oct 4, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@Djaler
Copy link

Djaler commented Oct 4, 2021

I provide prop to child component using dynamic prop syntax:

<Child :[propName]="propValue"/>

Then I got error:

src/App.vue:2:13 - error TS1003: Identifier expected.

2     <Child :[propName]="propValue"/>
              ~

Reproduction link: https://github.com/Djaler/volar-vue-2-dynamic-prop-name

@Djaler
Copy link
Author

Djaler commented Oct 4, 2021

Looks like this bug was introduced in 0.27.27

@johnsoncodehk johnsoncodehk added the bug Something isn't working label Oct 4, 2021
johnsoncodehk added a commit that referenced this issue Oct 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants