From d5cce06dcdaf92e1c7c223b5a44184efc01d36b0 Mon Sep 17 00:00:00 2001 From: Matthew Hartstonge Date: Thu, 14 Nov 2024 01:57:50 +1300 Subject: [PATCH] ci(addon/components/paper-form): removes console logging, fixes children documentation. --- addon/components/paper-form.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/addon/components/paper-form.js b/addon/components/paper-form.js index 98771c247..830ecd9b8 100644 --- a/addon/components/paper-form.js +++ b/addon/components/paper-form.js @@ -30,7 +30,7 @@ export default class PaperForm extends Component { autocompleteComponent; /** - * Set of form components + * Array of form components * @type {A} */ @tracked children = A([]); @@ -112,13 +112,11 @@ export default class PaperForm extends Component { @action localOnSubmit() { if (this.isInvalid) { - console.debug('form is invalid'); this.children.setEach('isTouched', true); if (this.args.onInvalid) { this.args.onInvalid(); } } else { - console.debug('form is submitted'); if (this.args.onSubmit) { this.args.onSubmit(); }