I have some fields (a timestamp and userId) that exist on a Collection and will either exist or not based on a Checkbox input.
If the user checks off the box, the properties gets saved with their Date and Time fields.
However, upon unchecking, I’m simply
null (as opposed to
unsetting). On the frontend, my
Helpers see the
null value and don’t display the timestamp and userId (which is good). But, I’m concerned with the
property still existing on the
Document (albeit being set to
I thought SimpleSchema would see the
null value and remove the Property, but I am wrong. Any foreseeable issues with doing it this way, or is it better off to be safe and make a separate
unset call to just remove the properties themselves?