This is imho a better, more explicit solution to the problem at hand
(communicating from the child to the parent that the form has been submitted).
Having a Form.Msg.Submit message is relevant I think, as I'll demonstrate in
another commit: if the Form module needs to do anything to the form when it's
submitted, regardless of what the parent does.
Eg: change the submit button to reflect the fact that it's been submitted,
maybe empty the input fields...
This is imho a better, more explicit solution to the problem at hand (communicating from the child to the parent that the form has been submitted).
Having a
Form.Msg.Submit
message is relevant I think, as I'll demonstrate in another commit: if the Form module needs to do anything to the form when it's submitted, regardless of what the parent does. Eg: change the submit button to reflect the fact that it's been submitted, maybe empty the input fields...