Skip to content

Menu v-for on div gives error #3152

@urko-b

Description

@urko-b
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

2.0.0-beta.15

Environment

Linux, firefox 82, vue 2.5.17

Reproduction link

Edit on CodeSandbox

Steps to reproduce

A component with when I try to loop over an array with v-for directive in a div then I use v-if to check if it has children in order to display sub-menu or menu-item

What is expected?

Not to throw error and let me display submenu or menuitem using an v-for

What is actually happening?

An error is thrown

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