In the Nav Menu widget, Go to Content > Layout, and under the Layout dropdown, choose Dropdown.
Start typing and press Enter to search