Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix useInitializeFormWithRecord with an array of objects #4819

Merged

Conversation

alanpoulain
Copy link
Contributor

Because, sadly, in JS:

const value = 'string';
console.log(Object.keys(value).length);
// --> 6

@fzaninotto fzaninotto merged commit f383c7b into marmelab:master May 18, 2020
@fzaninotto
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ArrayInput with array of strings throws "Cannot set a numeric property on an object"
2 participants