Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
this.on('submit', () => {
// TODO: do something like contact an API
const values = this.getValues();
console.log('submitting', values);
globals.displaySnackbar(
`Submitted ${values.firstName} ${values.lastName}`
);
});