You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When implementing DispatchPropsOfControl.handleChange() in a custom control and calling handleChange('somePath', undefined), the property at somePath of the global data object is removed but in mapAdditionalProps(props), the property still exists with an undefined value in props.data.
This is useful when handling additionalProperties for instance.
Describe the bug
When implementing
DispatchPropsOfControl.handleChange()
in a custom control and callinghandleChange('somePath', undefined)
, the property atsomePath
of the globaldata
object is removed but inmapAdditionalProps(props)
, the property still exists with anundefined
value inprops.data
.This is useful when handling
additionalProperties
for instance.Expected behavior
For the property to be remove of
props.data
Steps to reproduce the issue
https://github.com/JBBianchi/jsonforms-angular-seed/blob/master/src/app/edit-object.renderer.ts#L105
Screenshots
No response
In which browser are you experiencing the issue?
any
Framework
Angular
RendererSet
Material
Additional context
No response
The text was updated successfully, but these errors were encountered: