formSubmit
Description
called when the form submits
event parameter:
event.formValue: value of the form
event.formStatus: status of the value
event parameter type is NgMatFormSubmitModal
Example:
onformSubmit(event: NgMatFormSubmitModal) {
//Other operations here...
console.log({formValue: event.formValue,
formStatus: event.formStatus});
}
Last updated
Was this helpful?