How to add multiple forms on same component ?
See original GitHub issueWhat problem does this feature solve?
We can add multiple form on same component. I have tried by adding 2 form but action triggered for both form if i submit any one of the form.
What does the proposed API look like?
<Form onSubmit={this.handleSubmit} className="login-form">..form controls here</Form>
<Form onSubmit={this.handleSubmit1} className="register-form">..form controls here</Form>
Issue Analytics
- State:
- Created 6 years ago
- Reactions:8
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Create many forms in one component - angular - Stack Overflow
In your .ts component, you are initializing the same component twice: createForm1(){ this.form = this.formBuilder.group({ field1: [''] ...
Read more >Solved: Is is possible to have multiple form components on...
Is is possible to have multiple form components on a single page in the Now Experience UI Builder? Go to solution.
Read more >Angular Multiple Forms - StackBlitz
import { Component, OnInit } from '@angular/. core';. import { FormBuilder, FormGroup, Validators }. from '@angular/forms';. @Component({.
Read more >Can we include two forms in one Interface. - Appian Community
Hi,. Can we include two or more forms in one Interface. I'm using section layout to include other interfaces which has forms(save button)...
Read more >Remix - Multiple Forms and Single Button Mutations - YouTube
How to handle multiple forms in one route, and modeling mutations with a single button form. Learn more at https://remix.run.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
https://github.com/ant-design/ant-design/issues/2294#issuecomment-232370445
Hello @jshupptechnologies, we use GitHub issues to trace bugs or discuss plans of Ant Design. So, please don’t ask usage questions here. You can try to ask questions on Stack Overflow or Segment Fault, then apply tag
antd
andreact
to your question.