Closed raphaelameaume closed 6 months ago
This PR fixes an issue when trying to keep track of value changes in Field.
Field
If the initial or current value is null, the type would be object, leading to a TypeError when trying to diff changes in hasChanged().
null
object
hasChanged()
Checking initialValue and currentValue first fixes the error.
This PR fixes an issue when trying to keep track of value changes in
Field
.If the initial or current value is
null
, the type would beobject
, leading to a TypeError when trying to diff changes inhasChanged()
.Checking initialValue and currentValue first fixes the error.