currency-formatter icon indicating copy to clipboard operation
currency-formatter copied to clipboard

When all text selected, not able to delete text on return key.

Open CMarshall92 opened this issue 5 years ago • 2 comments

When you control + A in the components input box and then hit return/backspace the component will not clear the input it will deselect and then move to the end of the text string.

bug

CMarshall92 avatar Mar 15 '19 12:03 CMarshall92

Correct me if I'm wrong, but I don't think this behavior is controlled by this library. I would expect it is controlled by your UI code. I would try to make sure you're not rendering the currency symbol inside your input field.

edorivai avatar Mar 15 '19 12:03 edorivai

Actually, thinking about it a bit more, I wouldn't format user input at all. At least not as they are typing.

edorivai avatar Mar 15 '19 12:03 edorivai