Closed cpravetz closed 2 years ago
@cpravetz thanks a lot this pull request. Can you please add a bit more info, for which AutoForm method or hook this fix is?
Sorry - the patch addresses issue #1710 in the meteor-autoform repo. The callback passed during submit gets lost when collection-hooks expects two arguments and autoform passes three - so actions after the actual collection submit happens are never called.
@cpravetz all good @StorytellerCZ this can be merged and published. Can you do that?
@jankapunkt you should have the ability to do that if you wanted to.
Published in matb33:collection-hooks@1.1.3
Fixes problem with callbacks being lost because args passed from autoform include a validation object while collection-hooks assumes only two args.