Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FormulateInput - calling error in uploader method cause parent function promise to get rejected #550

Open
kristofferkjelde opened this issue Jun 13, 2022 · 0 comments
Labels
bug report A submitted bug report, not yet validated.

Comments

@kristofferkjelde
Copy link

Describe the bug
If calling error in custom :uploader method in a try/catch, will cause the parent function promise to get rejected.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://codepen.io/kristofferkjelde/pen/zYRyMLa
  2. upload a fil, .png
  3. See stacktrace/error in console

Expected behavior
I don't expect the error property in the :uploader method to have unhandle promise.

Screenshots
Screenshot 2022-06-13 at 22 54 48
Screenshot 2022-06-13 at 22 54 56
Screenshot 2022-06-13 at 22 56 03

Device information:

  • Device: [e.g. iPhone6, 1997 Dell]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]
@kristofferkjelde kristofferkjelde added the bug report A submitted bug report, not yet validated. label Jun 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report A submitted bug report, not yet validated.
Projects
None yet
Development

No branches or pull requests

1 participant