Skip to content

Commit

Permalink
Merge pull request #77 from reactjs/sync-69edd845
Browse files Browse the repository at this point in the history
Sync with react.dev @ 69edd84
  • Loading branch information
khakimio authored Jan 17, 2025
2 parents bd353f6 + f3f3f26 commit ad82673
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/content/reference/react-dom/components/input.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,7 @@ To display an input, render the [built-in browser `<input>`](https://developer.m

`<input>` supports all [common element props.](/reference/react-dom/components/common#props)

<<<<<<< HEAD
<Canary>

React's extensions to the `formAction` prop are currently only available in React's Canary and experimental channels. In stable releases of React, `formAction` works only as a [built-in browser HTML component](/reference/react-dom/components#all-html-components). Learn more about [React's release channels here](/community/versioning-policy#all-release-channels).
</Canary>

[`formAction`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#formaction): A string or function. Overrides the parent `<form action>` for `type="submit"` and `type="image"`. When a URL is passed to `action` the form will behave like a standard HTML form. When a function is passed to `formAction` the function will handle the form submission. See [`<form action>`](/reference/react-dom/components/form#props).
=======
- [`formAction`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#formaction): A string or function. Overrides the parent `<form action>` for `type="submit"` and `type="image"`. When a URL is passed to `action` the form will behave like a standard HTML form. When a function is passed to `formAction` the function will handle the form submission. See [`<form action>`](/reference/react-dom/components/form#props).
>>>>>>> 3b02f828ff2a4f9d2846f077e442b8a405e2eb04

You can [make an input controlled](#controlling-an-input-with-a-state-variable) by passing one of these props:

Expand Down

0 comments on commit ad82673

Please sign in to comment.