SwiftCoding icon indicating copy to clipboard operation
SwiftCoding copied to clipboard

CurrencyField

Open telcosolutions opened this issue 4 years ago • 0 comments

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

telcosolutions avatar Jan 06 '22 19:01 telcosolutions