SimpleSchema (and autoform) are truly great tools. I have not found a major issue with them except this one. When a field is defined as Object it cannot have keys that are numeric. It gets filtered out by SimpleSchema (probably expecting an Array so it refuses to let it be). Any idea how to solve this? Banged my head a few times, re-read the docs a few times, even had jugs of coffee … to no avail
Any insight from anyone experienced in this would be very (very!) appreciated.
PS: My solution was to append an ‘a’ at the beginning of the key so it becomes a string. Not pretty … Reminds me of hacks I used to do with Pascal and Basic years ago