mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-22 01:10:23 +00:00
parent
7c5e2511fd
commit
0429f6c7f5
1 changed files with 1 additions and 1 deletions
|
|
@ -265,7 +265,7 @@ function FormController(element, attrs) {
|
|||
*
|
||||
* - If a form has only one input field then hitting enter in this field triggers form submit
|
||||
* (`ngSubmit`)
|
||||
* - if a form has has 2+ input fields and no buttons or input[type=submit] then hitting enter
|
||||
* - if a form has 2+ input fields and no buttons or input[type=submit] then hitting enter
|
||||
* doesn't trigger submit
|
||||
* - if a form has one or more input fields and one or more buttons or input[type=submit] then
|
||||
* hitting enter in any of the input fields will trigger the click handler on the *first* button or
|
||||
|
|
|
|||
Loading…
Reference in a new issue