Skip to content

Commit e354061

Browse files
committed
Fix typo
1 parent 5647a94 commit e354061

File tree

1 file changed

+1
-1
lines changed
  • beta/src/content/reference/react-dom/components

1 file changed

+1
-1
lines changed

beta/src/content/reference/react-dom/components/select.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ select { display: block; margin-top: 10px; width: 200px; }
223223

224224
### Reading the select box value when submitting a form {/*reading-the-select-box-value-when-submitting-a-form*/}
225225

226-
Add a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form) around your textarea with a [`<button type="submit">`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button) inside. It will call your `<form onSubmit>` event handler. By default, the browser will send the form data to the current URL and refresh the page. You can override that behavior by calling `e.preventDefault()`. To read the form data, use [`new FormData(e.target)`](https://developer.mozilla.org/en-US/docs/Web/API/FormData).
226+
Add a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form) around your select box with a [`<button type="submit">`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button) inside. It will call your `<form onSubmit>` event handler. By default, the browser will send the form data to the current URL and refresh the page. You can override that behavior by calling `e.preventDefault()`. To read the form data, use [`new FormData(e.target)`](https://developer.mozilla.org/en-US/docs/Web/API/FormData).
227227
<Sandpack>
228228

229229
```js

0 commit comments

Comments
 (0)