Is there a nice way to get
Maybe MyRecord out of a Formless component? I need a
Just if all fields validate, and Nothing otherwise.
Bigger picture: I am making a Formless component with a “Cancel” button, so the component
Output type needs to be
Maybe MyRecord instead of just MyRecord for representing the “cancel” outcome. I’ve got my custom
Action type and
handleAction function, but I am stuck on getting
MyRecord out of the form.