We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a974622 commit 2c72e6cCopy full SHA for 2c72e6c
src/ng/directive/form.js
@@ -265,7 +265,7 @@ function FormController(element, attrs) {
265
*
266
* - If a form has only one input field then hitting enter in this field triggers form submit
267
* (`ngSubmit`)
268
- * - 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
269
* doesn't trigger submit
270
* - if a form has one or more input fields and one or more buttons or input[type=submit] then
271
* hitting enter in any of the input fields will trigger the click handler on the *first* button or
0 commit comments