question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to add multiple forms on same component ?

See original GitHub issue

What 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:closed
  • Created 6 years ago
  • Reactions:8
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

35reactions
ant-design-botcommented, Nov 9, 2017

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 and react to your question.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found