(e: KeyboardEvent, inputValue: string, cursorPosition?: number)
| 751 | } |
| 752 | |
| 753 | _getValueOnkeyDown(e: KeyboardEvent, inputValue: string, cursorPosition?: number) { |
| 754 | const typedValue = `${inputValue.substring(0, cursorPosition)}${e.key}${inputValue.substring(cursorPosition!)}`; |
| 755 | const updatedValue = this._removeGroupSeparators(typedValue); |
| 756 | return updatedValue; |
| 757 | } |
| 758 | |
| 759 | _removeGroupSeparators(value: string) { |
| 760 | const groupSeparator = this.groupSeparator; |
no test coverage detected