Skip to content

signed values are not working #7

@markus-rothenbacher-tech

Description

I need to be able to input negative numbers, but this is currently not supported.

The NumberFormater does not allow the input of negative values. The pattern is statically set to _numPattern = RegExp('[^0-9$decimalSeparator]'),

It would be helpful, if the AmountInputFormatter would have a boolean paramter "signed" with the default of "false" to be backward compatible. That parameter would then set the pattern and on true allow the "-" character.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions