Skip to content

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

@fartinmartin

Description

@fartinmartin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions