Custom number editor (text field) react component