format-as-currency
format-as-currency copied to clipboard
Typing space causes strange behavior
typing space moves the cursor forward without changing the values. I think the best solution is probably to ignore the space character completely but not sure if this might be an issue under any circumstances.
@bcherny again, if you agree that this is an issue I will take a look and see if i can submit a PR
In general, I agree that characters which don't match /[\d\.]+/ should be ignored, and the cursor/input should not be affected. In this sense this is a dupe of #2.
Feel free submit a pr!
sounds good!