Skip to content

Support promises for callbacks like onDelete #117

Open
@CarlosNZ

Description

@CarlosNZ

Discussed in #116

Originally posted by yaswanthmaddula-sureify September 5, 2024
I would like to have confirmation modal, if user tries to delete certain important keys in the json. As the onDelete callback is synchronous as of now, the only way for me to achieve this is using window.confirm(). It would be useful if there is a way like promises to support such usecases.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions