79419504

Date: 2025-02-06 22:29:00
Score: 1
Natty:
Report link

If you want access to the FormSubmittedEvent or FormResetEvent from the unified form events API of Angular 18 and later, then you definitely need a <form> element, and also properly type the buttons with type="reset" and type="submit" inside.

Besides that, I have gotten by without needing a <form> element for the most part.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Michael Small