Skip to content

Commit 9375cce

Browse files
committed
Fix mistake
1 parent 0b330d5 commit 9375cce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/components_guide_web/templates/react_typescript/form-reducers.html.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ So how do we do each of these steps?
2121

2222
## Get the fields matching this event
2323

24-
Each event that happens from a user interacting with some UI control has that control as part of the event. These can be accessed via the `.current` property on the event.
24+
Each event that happens from a user interacting with some UI control has that control as part of the event. These can be accessed via the `.target` property on the event.
2525

26-
For a `blur` event on an `<input>`, the `.current` property will refer to the input’s DOM element. This is an instance of [`HTMLInputElement`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement), which includes convenient properties like reading the current `.value`.
26+
For a `blur` event on an `<input>`, the `.target` property will refer to the input’s DOM element. This is an instance of [`HTMLInputElement`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement), which includes convenient properties like reading the current `.value`.
2727

28-
For a `submit` event on a `<form>`, the `.current` property will refer to the form’s DOM element. This is an instance of [`HTMLFormElement`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement).
28+
For a `submit` event on a `<form>`, the `.target` property will refer to the form’s DOM element. This is an instance of [`HTMLFormElement`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement).
2929

3030
Here’s an example form written in React demonstrating reading from the event:
3131

0 commit comments

Comments
 (0)