Skip to content
This repository was archived by the owner on Aug 23, 2022. It is now read-only.

Commit f1cb87d

Browse files
committed
Merge branch 'master' of github.com:davidkpiano/react-redux-form
2 parents 0df84ce + f0095e6 commit f1cb87d

File tree

3 files changed

+18
-4
lines changed

3 files changed

+18
-4
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
### The Problem
2+
3+
4+
### Steps to Reproduce
5+
6+
7+
### Expected Behavior
8+
9+
10+
### Actual Behavior
11+
12+
13+
### Reproducible Code Example
14+
(please fork from [this CodePen template](http://codepen.io/davidkpiano/pen/2cbfd61bdcff474ca6e40e8ed2221ef9))

docs/api/Form.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ _(String | Function)_: The string representing the model value of the entire for
4747

4848
Typically, the `<Control>` (and/or `<Field>`) components nested inside `<Form>` would be _members_ of the form model; e.g. `user.email` and `user.password` are members of the `user` model.
4949

50-
You can also use [partial models](../guides/partial-models) for `<Control>`, `<Field>`, `<Fieldset>`, and `<Errors>` components inside of `<Form>` - they will be resolved to the form's model.
50+
You can also use [partial models](../guides/partial-models.md) for `<Control>`, `<Field>`, `<Fieldset>`, and `<Errors>` components inside of `<Form>` - they will be resolved to the form's model.
5151

5252
## `validators={{...}}`
5353
_(Object)_: An object representing the validators for the fields inside the form, where:
@@ -73,7 +73,7 @@ _(Object)_: An object representing the error validators for the fields inside th
7373
- an error validator function, which receives the field model value, or
7474
- an error validator object, with validation keys and error validator functions as values, also receiving the field model value.
7575

76-
Its behavior is identical to the `validators={{...}}` prop, with the exception that an error validator that returns anything truthy is interpreted as an _error_. See [the validation guide](../guides/validation) for more info.
76+
Its behavior is identical to the `validators={{...}}` prop, with the exception that an error validator that returns anything truthy is interpreted as an _error_. See [the validation guide](../guides/validation.md) for more info.
7777

7878
## `validateOn="..."`
7979
_(String)_: A string that indicates when `validators` or `errors` (for error validators) should run.

docs/api/formReducer.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# `formReducer(model, [initialState])`
1+
# `formReducer(model, [initialState], [options])`
22

33
Returns a form reducer that only responds to any actions on the model or model's child values.
44

@@ -49,7 +49,7 @@ If provided an `initialState`, the form reducer will initialize its fields based
4949
### Arguments
5050
- `model` _(String)_: the model whose form and field states the reducer will update.
5151
- `initialState` _(any)_: the initial state of the model
52-
_ `options` _(Object)_: an object containing options for the form reducer:
52+
- `options` _(Object)_: an object containing options for the form reducer
5353

5454
### Options
5555
- `plugins` _(Array<Function>)_: an array of reducers that can be used to customize the return value of the form reducer. Each plugin is run _after_ the default form reducer, and takes in two arguments:

0 commit comments

Comments
 (0)