      this.setState({value: validatedTime, cursorPosition: newPosition}, () => {
        inputEl.selectionStart = validatedCursorPosition;
        inputEl.selectionEnd = validatedCursorPosition;
        const changeEvent = event as SyntheticEvent<HTMLInputElement>;
        callback(changeEvent, validatedTime);