-
Notifications
You must be signed in to change notification settings - Fork 27.1k
ngSubmit($event) returns null on submit #10920
Copy link
Copy link
Closed
Labels
area: formsfeatureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issuesopen for contributionsAn issue that is suitable for a community contributor (based on its complexity/scope).An issue that is suitable for a community contributor (based on its complexity/scope).
Metadata
Metadata
Assignees
Labels
area: formsfeatureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issuesopen for contributionsAn issue that is suitable for a community contributor (based on its complexity/scope).An issue that is suitable for a community contributor (based on its complexity/scope).
I'm submitting a ... (check one with "x")
Current behavior
onSubmit($event) {my html.
:::Here $event is always null.
Expected/desired behavior
onSubmit($event) {
we should be getting the enter event
Reproduction of the problem
If the current behavior is a bug or you can illustrate your feature request better with an example, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5).
What is the expected behavior?
What is the motivation / use case for changing the behavior?
Please tell us about your environment: