grommet / grommet/react-formify

"defaultValue" object is mutated within the form

Open
#8 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
8
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Not sure if this is intended or not, but If you pass in a "defaultValue", when the form changes, the object passed in is also changed. I would expect the data to be cloned and only mutated internally.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.