Skip to content

Commit 6a08190

Browse files
authored
Merge pull request jherr#2 from craig-waite/extended-context
fix: wrong field name
2 parents 7ca2b40 + eff84c7 commit 6a08190

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fast-context-generic-extended/src/components/FormContainer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export function PropDrivenFormContainer() {
88
return (
99
<div className="container">
1010
<h4>'Prop Driven' Input Form (Form AND children re-render on field changes)</h4>
11-
<FormDrivenTextInput value={fields.first.get as string} label='First Name' onChange={fields.last.set}/>
11+
<FormDrivenTextInput value={fields.first.get as string} label='First Name' onChange={fields.first.set}/>
1212
<FormDrivenTextInput value={fields.last.get as string} label='Last Name' onChange={fields.last.set} />
1313
</div>
1414
);

0 commit comments

Comments
 (0)