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

Commit d60b4a7

Browse files
author
Ralph Sto. Domingo
authored
Update form docs: isNull deprecated (validator)
https://github.com/chriso/validator.js#strings-only
1 parent 7581ae6 commit d60b4a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/api/Form.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ The `<Form>` component is a decorated `<form>` component with a few helpful prop
44

55
```jsx
66
import { Form, Control } from 'react-redux-form';
7-
import { isEmail, isNull } from 'validator';
7+
import { isEmail, isEmpty } from 'validator';
88

9-
const required = isNull;
9+
const required = isEmpty;
1010

1111
const passwordsMatch = ({ password, confirmPassword }) => {
1212
return password === confirmPassword;

0 commit comments

Comments
 (0)