as seen here, how can i remove first selected option from list?
i want to search something and on click Enter i would like to go to specific page but due to first option selected by default, i am navigating to link for first option.
i tried below solution but it doesn't seems to be working
if (searchRef?.current?.select) {
searchRef.current.select.getNextFocusedOption = () => false;
}
