Open joshglenn opened 5 years ago
Ok. So, in the third example, it wasn't passing validation (the first example bypasses validation by using _saveForm()
instead of save()
). I had accidentally marked another (unused) field as required in my mson component definition.
Now, that just leaves the question about my 2nd example. Right now, things are only working when I declare a new CollectionField for every item I add. Any ideas what I might be doing wrong?
So, I'm trying to use the CollectionField to manually create some records and store them to localStorage. I'm seeing behavior that I don't quite understand.
For instance. This works to add ten items to the collection:
the following, however, only adds one item:
And the following does not add any items into localStorage
I'm sure I must be doing something wrong, but have no idea what. Any suggestions?