Skip to content

Iteration over Set's with v-for #2662

@msalestream

Description

@msalestream

I was building something the other day with a set, and noticed I couldn't seem to iterate over it with a v-for.

Example (Use Modern Browser):
https://jsfiddle.net/n9b9g0t0/3/

I understand Set's do behave a little differently then plain objects and array's, but I do see a massive benefit in adding them into v-for iteration. I am open to writing this addition if deemed useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions