Skip to content

Commit 2c72e6c

Browse files
Yuriy Bilogubjamesdaily
Yuriy Bilogub
authored andcommitted
docs(form): fix typo
Close angular#4671
1 parent a974622 commit 2c72e6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/directive/form.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ function FormController(element, attrs) {
265265
*
266266
* - If a form has only one input field then hitting enter in this field triggers form submit
267267
* (`ngSubmit`)
268-
* - if a form has has 2+ input fields and no buttons or input[type=submit] then hitting enter
268+
* - if a form has 2+ input fields and no buttons or input[type=submit] then hitting enter
269269
* doesn't trigger submit
270270
* - if a form has one or more input fields and one or more buttons or input[type=submit] then
271271
* hitting enter in any of the input fields will trigger the click handler on the *first* button or

0 commit comments

Comments
 (0)