You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Submitting a form and preventing the default action
[...]
For this reason, Angular prevents the default action (form submission to the server) unless the <form> element has an action attribute specified.
Yet, if you specify <form action="">...</form>, angularjs consider that no action attribute is specified, which is not true.
The test condition in src/ng/directive/form.js is not strict enough (in the form directive)
if (!attr.action) {
I'm no JS expert, but I think a stricter comparison would be more appropriate (such as the following)