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

Bug: Page breaks due to toWords crash when check amount is blank or otherwise not a number #2

Closed
AySz88 opened this issue Jun 21, 2024 · 1 comment

Comments

@AySz88
Copy link

AySz88 commented Jun 21, 2024

Repro: Delete the dollar amount of the check, leaving the field blank. The function toWords crashes as "Not a Finite Number". The entire check preview and form disappear as a result, making it impossible to correct and resume without reloading and losing existing progress.

Experienced on the demo.

My suggestion: Leave both the amount and amount-in-words line blank when this occurs, including removing the squiggle. If this is considered dangerous (as it creates a "blank check") fill it with zero or "VOID" instead.

@sktzofrenic
Copy link
Owner

Should be fixed in 1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants