GoConqr has a new look! Let us know what you think.

Notes

Untitled

limber MZ Spanish 1 page

Content of the notes (1)

Page 1

The error message you provided indicates that there is a typo in your HTML template file "registrar-producto.component.html". The event binding on line 3 `(ngSunit)="onSumit()"` references a method `onSumit()`, but it seems that the correct method name is `onSubmit()`.

To resolve this issue, you should update the event binding to use the correct method name. Here's the corrected line:

```html

<form (ngSubmit)="onSubmit()">

```

Make sure to also update the corresponding method name in your TypeScript file "registrar-producto.component.ts" to match the corrected event binding in the template.

Once you've made these changes, the error should be resolved, and the `onSubmit()` method will be correctly invoked when the form is submitted.

If you have any further questions, please let me know.

Information

Description
Note on Untitled, created by limber MZ on 05/07/2023.
Created by
limber MZ
Views
1
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?