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

CurrencyField #3

Open
telcosolutions opened this issue Jan 6, 2022 · 0 comments
Open

CurrencyField #3

telcosolutions opened this issue Jan 6, 2022 · 0 comments

Comments

@telcosolutions
Copy link

Steven
This looks like the best Currency Text Field I've seen. It may be the only one that uses Decimal. I do see 2 problems with it's use.

  1. If you enter all non-numeric then the characters are left in the field but the decimal is zero. I've added a button to your test form and if I enter "AAA" and click the button the field changes to $1.00.
  2. This one may not be a bug but stops me from using the CurrencyField. You are using "Decimal?". Why can't you use "Decimal"? The value should never be nil and you see from $1 an invalid entry has the value zero.

Thanks in advance.
George

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

1 participant