Skip to content

Setting selected values to my own state clears current selected values #105

@alvamanu

Description

@alvamanu

Trying to set my own state with the selected values inisde the handleSelectionFinish will update my state but it will also clear the current selection.

setValues({ ...values, day_parting_values: payload });

As soon as I do a mouse up, my own state will be modified but I won't be able to see what I have selected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions