We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
form
1 parent 9e7cb3c commit 0107bfcCopy full SHA for 0107bfc
src/ng/directive/ngEventDirs.js
@@ -308,6 +308,13 @@ forEach(
308
* server and reloading the current page), but only if the form does not contain `action`,
309
* `data-action`, or `x-action` attributes.
310
*
311
+ * <div class="alert alert-warning">
312
+ * **Warning:** Be careful not to cause "double-submission" by using both the `ngClick` and
313
+ * `ngSubmit` handlers together. See the
314
+ * {@link form#submitting-a-form-and-preventing-the-default-action `form` directive documentation}
315
+ * for a detailed discussion of when `ngSubmit` may be triggered.
316
+ * </div>
317
+ *
318
* @element form
319
* @priority 0
320
* @param {expression} ngSubmit {@link guide/expression Expression} to eval.
0 commit comments