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

Commit 78b9960

Browse files
committed
Updating documentation about parser. Fixes #996
1 parent 22d6a80 commit 78b9960

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/api/Control.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,8 @@ For example, this control validates that a username exists and is longer than 4
224224
```
225225

226226
## `parser={() => ...}` {#prop-parser}
227-
_(Function)_: A function that _parses_ the view value of the control before it is changed. It takes in two arguments:
227+
_(Function)_: A function that _parses_ the view value of the control before it is changed. It takes in one argument:
228228
- `value` - the view value that represents the _next_ model value
229-
- `previous` (optional) - the current model value _before_ it is changed
230229

231230
**Example**
232231
```jsx

0 commit comments

Comments
 (0)