Skip to content

Commit 34f1129

Browse files
ci(addon/components/paper-form): removes console logging, fixes children documentation.
1 parent 601c025 commit 34f1129

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

addon/components/paper-form.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export default class PaperForm extends Component {
3030
autocompleteComponent;
3131

3232
/**
33-
* Set of form components
33+
* Array of form components
3434
* @type {A}
3535
*/
3636
@tracked children = A([]);
@@ -112,13 +112,11 @@ export default class PaperForm extends Component {
112112

113113
@action localOnSubmit() {
114114
if (this.isInvalid) {
115-
console.debug('form is invalid');
116115
this.children.setEach('isTouched', true);
117116
if (this.args.onInvalid) {
118117
this.args.onInvalid();
119118
}
120119
} else {
121-
console.debug('form is submitted');
122120
if (this.args.onSubmit) {
123121
this.args.onSubmit();
124122
}

0 commit comments

Comments
 (0)