Skip to content

Commit 8f67b3d

Browse files
committed
Updated example link
1 parent 003d4f9 commit 8f67b3d

File tree

6 files changed

+4
-79
lines changed

6 files changed

+4
-79
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,10 @@ const MyForm = () => (
125125

126126
## Examples
127127

128-
### [Simple Example](https://codesandbox.io/s/ww40y2m595)
128+
### [Simple Example](https://codesandbox.io/s/kx8qv67nk5)
129129

130-
Uses the built-in React inputs: `input`, `select`, and `textarea` to build a
131-
form with no validation.
130+
Demostrates how to use `<FieldArray/>` to render an array of inputs, as well as
131+
use `push`, `pop`, and `remove` mutations.
132132

133133
## Rendering
134134

banner.png

-54.6 KB
Binary file not shown.

docs/comparison.md

Lines changed: 0 additions & 28 deletions
This file was deleted.

docs/faq.md

Lines changed: 0 additions & 48 deletions
This file was deleted.

logo.png

-77.1 KB
Binary file not shown.

src/FieldArray.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ export default class FieldArray extends React.PureComponent<Props, State> {
6767
const { reactFinalForm } = this.context
6868
if (reactFinalForm) {
6969
const { mutators } = reactFinalForm
70+
console.info('mutators', mutators)
7071
warning(
7172
mutators && mutators.push && mutators.pop,
7273
'Array mutators not found. You need to provide the mutators from final-form-arrays to your form'

0 commit comments

Comments
 (0)