Skip to content

Precision={0} with suffix=",00" make the value passed on onChangeEvent wrong #91

@Mathitos

Description

@Mathitos

You can reproduce using

<CurrencyInput
            prefix="$ "
            precision={0}
            suffix=",00"
            decimalSeparator=","
            thousandSeparator="."
            allowEmpty
            placeholder="buggy"
            value={null}
            onChangeEvent={(v1,v2,v3) => console.log(v1,v2,v3)}
          />

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