Skip to content

CurrencyField #3

Description

@telcosolutions

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions