Changing the dropdown trigger to a button from a div almost meant that it hijacked the default behavior for a form on pressing 'Enter' key. Adding type=button to the button fixed that problem.
Changing the dropdown trigger to a button from a div almost meant that it hijacked the default behavior for a form on pressing 'Enter' key. Adding type=button to the button fixed that problem.