Change Form's submit method to do validation before calling onFormSubmit
Change Form's submit method to do validation before calling onFormSubmit

Change-type: minor
Signed-off-by: Stevche Radevski <9a9ca2af06674741f448c3fb2b8454728fe8aa79@balena.io>

resin-io-modules/resin-components,resin-io-modules/resin-components,resin-io-modules/resin-components