diff --git a/doc/options.md b/doc/options.md index 0c32d59d..1387cc8d 100644 --- a/doc/options.md +++ b/doc/options.md @@ -509,7 +509,7 @@ It returns an object, which has a target key, value is the formatted and raw inp new Cleave('.my-input', { creditCard: true, onValueChanged: function (e) { - // e.target = { value: '5000-1234', rawValue: '51001234' } + // e.target = { value: '5100-1234', rawValue: '51001234' } } }); ``` diff --git a/doc/reactjs-component-usage.md b/doc/reactjs-component-usage.md index b6b4868d..50ecc58f 100644 --- a/doc/reactjs-component-usage.md +++ b/doc/reactjs-component-usage.md @@ -362,7 +362,7 @@ Then it just works. Or, you could also use the normalize abstraction at `Field` level, check the discussion [here](https://github.com/nosir/cleave.js/issues/159#issuecomment-326487309) -### How to use it with Redux Final Form +### How to use it with React Final Form Create an adapter with cleave.js: