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

"Unhandled error during execution of render function" while using v-for with a non-interger value #2245

Closed
fartinmartin opened this issue Sep 26, 2020 · 0 comments · Fixed by #2247
Labels
✨ feature request New feature or request

Comments

@fartinmartin
Copy link

Version

3.0.0

Reproduction link

https://codepen.io/robotdood/pen/mdPoGQz

Steps to reproduce

Check console to view "Unhandled error during execution of render function at " error.

In production I also received this error: "Unhandled error during execution of scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/vue-next"

What is expected?

Maybe a more explicit error: "v-for does not work with non-interger values. See https://v3.vuejs.org/guide/list.html#displaying-filtered-sorted-results"

What is actually happening?

See "steps to reproduce"


This might seem obvious, but in my case the (non-)integer was coming from a computed value and thus not as easy to track down.

underfin added a commit to underfin/vue-next that referenced this issue Sep 27, 2020
@LinusBorg LinusBorg added the ✨ feature request New feature or request label Sep 30, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Nov 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
✨ feature request New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants