<inputtype="text"value={searchTerm}onChange={handleInputChange}onClick={openDropdown}placeholder="Select a chain"className="form-control"/>
<inputtype="text"value={searchTerm}onChange={handleInputChange}onClick={openDropdown}data-id="chainDropdownbox"placeholder="Select a chain"className="form-control"/>
<ulclassName="dropdown-menu show w-100 bg-light"style={{maxHeight:'400px',overflowY:'auto',display: isOpen?'initial':'none'}}>
<ulclassName="dropdown-menu show w-100 bg-light"style={{maxHeight:'400px',overflowY:'auto',display: isOpen?'initial':'none'}}>