meteor-autoform
meteor-autoform copied to clipboard
Nested autoForms in 7.x+
Switching from an earlier version 6.x to 7.x it seems like I have some templates that have a parent +autoForm in them with a specific simple schema associated.
Then a separate template gets used and it nests a second +autoForm with a different simple schema object that gets built dynamically as fields can be added/removed as needed there.
Previously it would automatically merge the data from both autoforms and the schemas as well, it would validate the fields correctly when getting submitted to the backend. Now it seems like I need to manually retrieve the values from the child autoform and merge them to the document of the parent autoform in it's hook to get the same behavior, but I still get problems with the simple schema being used.
Was that a breaking change part of 7.x that wasn't called out specifically as I understand having nested forms is just bad html ?