79447449

Date: 2025-02-18 07:42:34
Score: 1
Natty:
Report link

For anyone else wondering I have found an answer, it's not controlled by Angular, it's jQuery and this line of code in onSubmit function:

return ($event?.target as HTMLFormElement | null)?.method === 'dialog';

reference: event.preventDefault() vs. return false

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Freezy