Skip to content

Commit

Permalink
ci(addon/components/paper-form): removes console logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewhartstonge committed Nov 13, 2024
1 parent b11e3ec commit e1eda8e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions addon/components/paper-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit e1eda8e

Please sign in to comment.