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

Commit 82691aa

Browse files
committed
Merge branch 'master' of github.com:davidkpiano/react-redux-form
2 parents 687d0f4 + 939ddd7 commit 82691aa

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/components/field-component.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ const fieldPropTypes = {
6767
dispatch: PropTypes.func,
6868
getState: PropTypes.func,
6969
}),
70+
storeSubscription: PropTypes.any,
7071
};
7172

7273
function getControlType(control, props, options) {

src/form/is-valid.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default function isValid(formState, options = { async: true }) {
1818
// current error key is an async validator key,
1919
// treat key as valid
2020
if (!options.async
21-
&& formState.asyncKeys
21+
&& Array.isArray(formState.asyncKeys)
2222
&& !!~formState.asyncKeys.indexOf(errorKey)) {
2323
return true;
2424
}

0 commit comments

Comments
 (0)