Closed dspeirs7 closed 4 years ago
To ensure that isObject does not return true for dates to avoid using the spread operator on a date causing it to be an empty object.
PR Close #7
Please check if your PR fulfills the following requirements:
What kind of change does this PR introduce?
[X] Bugfix [ ] Feature [ ] Code style update (formatting, local variables) [ ] Refactoring (no functional changes, no api changes) [ ] Build related changes [ ] CI related changes [ ] Documentation content changes [ ] Other... Please describe:
(https://github.com/ngneat/forms-manager/issues/7)
Issue Number:7
A date value is not cloned using the spread operator leaving it as an empty object.
[ ] Yes [X] No
Please add yourself to the contributors. npm run contributors:add
npm run contributors:add
To ensure that isObject does not return true for dates to avoid using the spread operator on a date causing it to be an empty object.
PR Close #7
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
(https://github.com/ngneat/forms-manager/issues/7)
Issue Number:7
What is the new behavior?
A date value is not cloned using the spread operator leaving it as an empty object.
Does this PR introduce a breaking change?
Other information