Skip to content

Mention that uncontrolled form elements are reset by form actions#7340

Merged
gaearon merged 1 commit intoreactjs:mainfrom
jeremy-deutsch:form-behavior
Dec 16, 2024
Merged

Mention that uncontrolled form elements are reset by form actions#7340
gaearon merged 1 commit intoreactjs:mainfrom
jeremy-deutsch:form-behavior

Conversation

@jeremy-deutsch
Copy link
Copy Markdown
Contributor

The docs don't currently mention that form actions also reset the form (except for controlled elements) - this PR adds that note.

This section likely also wants to note that form actions are non-blocking Actions, but that should probably be added once the docs have a central explanation of what Actions are (besides this section of useTransition).

@vercel
Copy link
Copy Markdown

vercel bot commented Dec 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
19-react-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 7, 2024 7:08pm
react-dev ✅ Ready (Inspect) Visit Preview Dec 7, 2024 7:08pm

@github-actions
Copy link
Copy Markdown

github-actions bot commented Dec 7, 2024

Size changes

Details

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants