-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
rawlist throws unhandable rejection #1042
Comments
SBoudrias
pushed a commit
that referenced
this issue
Sep 15, 2021
Co-authored-by: SanariSan <[email protected]>
Fix is merged, and released to npm. Thanks for the help :) |
This was referenced Sep 15, 2021
Closed
SBoudrias
pushed a commit
that referenced
this issue
Sep 15, 2021
Co-authored-by: SanariSan <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Node:
14.17.4
Language:
pure JS (no transpilation)
/TS (tsc into ES2020)
(doesn't matter)To be more accurate, rawlist throws multiple promise rejections if pressing "Enter" i.e. accepting after entering non-existing index. So, when validate error appears just press "Enter".
Moreover, you can't catch these rejections with .catch();
Also, custom validate function is not executing with type: "rawlist", can't evade it this way.
Sample code
Reproducing the error
WEBM showing error
Full terminal log from sample
The text was updated successfully, but these errors were encountered: