Support promises for callbacks like onDelete #116
                  
                    
                      yaswanthmaddula-sureify
                    
                  
                
                  started this conversation in
                Ideas
              
            Replies: 1 comment
-
| Thanks for the suggestion, I've started an issue to do this: #117 | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to have confirmation modal, if user tries to delete certain important keys in the json. As the
onDeletecallback 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.Beta Was this translation helpful? Give feedback.
All reactions