Skip to content

Prevent duplicate cloning #708

Closed
Closed
@alexcroox

Description

@alexcroox

Is there an easy way to prevent you cloning one item into the same list multiple times? Basically if the item already exists in the other list I don't want it to be added again.

Currently the only way I can think is by using onAdd on the target list and looking at the innerText of the event.item and comparing against event.to.children and removing if duplicate is found.

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