Allow handleSubmit to accept arguments for conditional submits. #1100
              
                Unanswered
              
          
                  
                    
                      mfrancis107
                    
                  
                
                  asked this question in
                Ideas
              
            Replies: 0 comments
  
    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.
Uh oh!
There was an error while loading. Please reload this page.
-
Sometimes you may have a form with multiple submit buttons. Each may have a slightly different behavior.
For example, "Save and Continue" or "Save and Copy".
Not sure about type safety. May just have to say submitValue is unknown.
Beta Was this translation helpful? Give feedback.
All reactions