react-currency-input
react-currency-input copied to clipboard
Add prop to disable selecting all text in field on focus
In case if user wants to add digit to input, he has to click twice on it, because first click(focus) selects whole text, which is not really UX-good.
The solution (line 213, handleFocus function):
this.props.selectAllOnFocus && event.target.setSelectionRange(selectionStart, selectionEnd);