We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49f37af commit d5cce06Copy full SHA for d5cce06
addon/components/paper-form.js
@@ -30,7 +30,7 @@ export default class PaperForm extends Component {
30
autocompleteComponent;
31
32
/**
33
- * Set of form components
+ * Array of form components
34
* @type {A}
35
*/
36
@tracked children = A([]);
@@ -112,13 +112,11 @@ export default class PaperForm extends Component {
112
113
@action localOnSubmit() {
114
if (this.isInvalid) {
115
- console.debug('form is invalid');
116
this.children.setEach('isTouched', true);
117
if (this.args.onInvalid) {
118
this.args.onInvalid();
119
}
120
} else {
121
- console.debug('form is submitted');
122
if (this.args.onSubmit) {
123
this.args.onSubmit();
124
0 commit comments