Skip to content

Commit

Permalink
removed Object.values usage. fixes #881
Browse files Browse the repository at this point in the history
  • Loading branch information
erikras committed May 18, 2016
1 parent a9f4c59 commit 3edd0b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reduxForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const createReduxForm =
}

get fieldList() {
return Object.values(this.fields).map(field => field.name)
return Object.keys(this.fields).map(key => this.fields[key].name)
}

asyncValidate(name, value) {
Expand Down

0 comments on commit 3edd0b6

Please sign in to comment.