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.30
stackblitz.com
Click the button to increment the page number
No type check warnings should appear in the console
[Vue warn]: Invalid prop: type check failed for prop "pageNumber". Expected Number with value 1, got String with value "1".
I think the key chould be camelized before checking _numberProps here:
_numberProps
core/packages/runtime-dom/src/apiCustomElement.ts
Lines 269 to 275 in 9c304bf
The text was updated successfully, but these errors were encountered:
fix(runtime-core): custom-element: ensure number casting of camelCase…
b0b74a1
… props. (fix: #5374) (#5377)
feb1871
… props. (fix: vuejs#5374) (vuejs#5377)
a3c1e6f
LinusBorg
Successfully merging a pull request may close this issue.
Version
3.2.30
Reproduction link
stackblitz.com
Steps to reproduce
Click the button to increment the page number
What is expected?
No type check warnings should appear in the console
What is actually happening?
[Vue warn]: Invalid prop: type check failed for prop "pageNumber". Expected Number with value 1, got String with value "1".
I think the key chould be camelized before checking
_numberProps
here:core/packages/runtime-dom/src/apiCustomElement.ts
Lines 269 to 275 in 9c304bf
The text was updated successfully, but these errors were encountered: