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

[Template validation props] Error when optional camel-cased props are missing #2314

Closed
3 tasks done
victorgarciaesgi opened this issue Sep 23, 2020 · 2 comments · Fixed by #2342
Closed
3 tasks done

Comments

@victorgarciaesgi
Copy link

  • I have searched through existing issues
  • I have read through docs
  • I have read FAQ

Info

  • Platform: macOS
  • Vetur version: 0.28.0
  • VS Code version: 1.49.1

Problem

Vetur warn me that the props true-value? and false-value? are not provided, whereas those props are optional in the definition component.

image

Toogle.vue
image

@alex7229
Copy link

alex7229 commented Oct 6, 2020

Definitions are generated with an error.
It should be 'true-value'? instead of 'true-value?'. The question mark is placed in the wrong spot

@yoyo930021
Copy link
Member

Definitions are generated with an error.
It should be 'true-value'? instead of 'true-value?'. The question mark is placed in the wrong spot

#2342

yoyo930021 added a commit to yoyo930021/vuter that referenced this issue Oct 7, 2020
yoyo930021 added a commit to yoyo930021/vuter that referenced this issue Oct 7, 2020
octref pushed a commit to yoyo930021/vuter that referenced this issue Oct 30, 2020
octref pushed a commit to yoyo930021/vuter that referenced this issue Oct 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants