Skip to content

Add native <Form> component to Material UI #47703

@mordeccai

Description

@mordeccai

Summary

This is annoying.

Right now we have to do:

<Box component="form">
  <Button type="submit">Submit</Button>
</Box>

Please add a simple:

<Form>
  <Button>Submit</Button>
</Form>

No type="submit" needed.
No Box prop hacks.
Cleaner, more semantic, less boilerplate.

Examples

No response

Motivation

No response

Search keywords: Form

Metadata

Metadata

Assignees

No one assigned

    Labels

    on holdThere is a blocker, we need to wait.scope: formChanges related to the form.type: new featureExpand the scope of the product to solve a new problem.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions