For dropdown list I use the below code
SelectElement select = new SelectElement(driver.FindElement(By.ClassName("select2-search__field")));
select.SelectByIndex(0);
select.SelectByText("Checking0");
But this error occured
OpenQA.selenium.support.ui.UnexpectedTagNameException: 'Element should have been "select" but was input'
select
tag.