Closed jamesst20 closed 5 months ago
Hi,
When I use valueAsObject={true} I end up having $selected: true in my payload.
valueAsObject={true}
$selected: true
This could be fixed by marking the property as non enumerable.
if (!Object.prototype.hasOwnProperty.call(item, "$selected")) { Object.defineProperty(item, "$selected", { enumerable: false, writable: true }); }
Could this be done? :)
v5.0.0-next.6
This seems to be still broken as mentioned in #233
Hi,
When I use
valueAsObject={true}
I end up having$selected: true
in my payload.This could be fixed by marking the property as non enumerable.
Could this be done? :)
v5.0.0-next.6