diff --git a/docs/api/Control.md b/docs/api/Control.md index e855d9ff6..0bfe357c0 100644 --- a/docs/api/Control.md +++ b/docs/api/Control.md @@ -156,7 +156,7 @@ const length = (val) => val.length > 8; ``` ## `debounce={...}` {#prop-debounce} -_(Number)_: The time in milliseconds, by which the change action will be debounced. +_(Number)_: The time in milliseconds, by which the change action will be debounced. ## `validateOn="..."` {#prop-validateOn} _(String | Array)_: A string/array of strings specifying when validation should occur. By default, validation happens with whatever `updateOn` is set to. The `validateOn` property can have these values: @@ -217,9 +217,8 @@ For example, this control validates that a username exists and is longer than 4 ``` ### `parser={() => ...}` {#prop-parser} -_(Function)_: A function that _parses_ the view value of the control before it is changed. It takes in two arguments: +_(Function)_: A function that _parses_ the view value of the control before it is changed. It takes in one argument: - `value` - the view value that represents the _next_ model value -- `previous` (optional) - the current model value _before_ it is changed **Example** ```jsx