Open bluelovers opened 1 year ago
{ fieldA: { p1: 1, p2: 2, } }
when setFieldValue('fieldA', {})
setFieldValue('fieldA', {})
the value of fieldA is still
fieldA
{ p1: 1, p2: 2, }
replaceFieldValue('fieldA', {}) => fieldA is {} resetFieldValue('fieldA') => fieldA is init value
replaceFieldValue('fieldA', {})
{}
resetFieldValue('fieldA')
Feature request
Current Behavior
when
setFieldValue('fieldA', {})
the value of
fieldA
is stillDesired Behavior
replaceFieldValue('fieldA', {})
=>fieldA
is{}
resetFieldValue('fieldA')
=>fieldA
is init valueSuggested Solution
Who does this impact? Who is this for?
Describe alternatives you've considered
Additional context