\r\n
\r\n \r\n {\r\n openMenu()\r\n }}\r\n onClick={() => {\r\n if (clearOnChange) openMenu()\r\n }}\r\n onKeyPress={(event: any) => {\r\n if (event.nativeEvent.keyCode === 13) {\r\n event.nativeEvent.preventDefault()\r\n }\r\n }}\r\n hasError={showError}\r\n disabled={disabled}\r\n />\r\n \r\n {selectedItem && !disabled && (\r\n \r\n \r\n \r\n )}\r\n
\r\n
\r\n
\r\n )}\r\n