Skip to content

Commit

Permalink
docs: missing field reference in react native (#947)
Browse files Browse the repository at this point in the history
  • Loading branch information
soundrez authored Sep 12, 2024
1 parent c584f1f commit f7568a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/framework/react/guides/react-native.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Here is an example:
{field => (
<>
<Text>Age:</Text>
<TextInput value={field.state.value} onChangeText={handleChange} />
<TextInput value={field.state.value} onChangeText={field.handleChange} />
{
field.state.meta.errors
? <Text>{field.state.meta.errors.join(', ')}</Text>
Expand Down

0 comments on commit f7568a6

Please sign in to comment.