mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
docs(ngSubmit): clarify that there must be no action attribute
This commit is contained in:
parent
4953b49761
commit
b6ff8d751f
1 changed files with 2 additions and 1 deletions
|
|
@ -220,7 +220,8 @@ forEach(
|
|||
* Enables binding angular expressions to onsubmit events.
|
||||
*
|
||||
* Additionally it prevents the default action (which for form means sending the request to the
|
||||
* server and reloading the current page).
|
||||
* server and reloading the current page) **but only if the form does not contain an `action`
|
||||
* attribute**.
|
||||
*
|
||||
* @element form
|
||||
* @param {expression} ngSubmit {@link guide/expression Expression} to eval.
|
||||
|
|
|
|||
Loading…
Reference in a new issue