Hello I want to to pass just created object id to other form, but not sure how to do it. Right now my submit button tries to submit form and then redirect to other component modal which opens other form. Other form one of parameters is just created object id. Whats the correct way to solve this problem?
<Form.Group>
<ButtonToolbar>
<Button variant="primary" type = "submit" onClick
={()=>this.setState({addSkillShow:true})}>Add Application</Button>
=<AddSkillModal
show={this.state.addSkillShow}
onHide={addSkillClose}
applicationId={applicationId}/>
</ButtonToolbar>
</Form.Group>