ember-bootstrap-changeset-validations icon indicating copy to clipboard operation
ember-bootstrap-changeset-validations copied to clipboard

uncaught error with invalid model

Open boesi opened this issue 2 years ago • 3 comments

Hi

If I put an invalid value in my form, I get a nice error message in my template and the submit function isn't called. But I also get an error message in the developer console:

bs-form.js:28 Uncaught (in promise) Error
    at BsFormWithChangesetValidationsSupport.validate (bs-form.js:28:1)
validate                            @ bs-form.js:28
Promise.then (async)
iterations                          @ backburner.js:18
[...stack trace...]

How can I catch this error? And why do I even have to catch this error? Or do I miss something else?

Thanks for your help and all your work

boesi avatar Aug 08 '22 13:08 boesi