Last Updated: 17 Jun 2021 08:59 by Vipin
Created on: 17 Jun 2021 08:59
Category: Input
Type: Bug Report
NumericTextBox with currency formatting doesn't apply/accept the first symbol inputted in it

I'm submitting a...

  • Bug report

Current behavior

Get a NumericTextbox with currency formatting. If one clicks on the input of the component in the area in front of the currency sign, the caret is positioned before this currency sign. Once the caret is positioned in front of the currency sign, the first entered number won't be applied to the component if you start entering numbers from the keyboard.

Expected behavior

When the user enters a number through the keyboard, all its digits should be applied to/accepted by the component, no matter the position of the caret.

Minimal reproduction of the problem with instructions

  1. Open this StackBlitz example.
  2. Position the caret before the dollar sign in the input
  3. Enter 123 with the keyboard
  4. The applied number is 23 instead of 123