Jwensloff / brew-buddy

https://brew-buddy.vercel.app
0 stars 2 forks source link

Bug: Form submission error handling #36

Closed JoshBennett793 closed 1 year ago

JoshBennett793 commented 1 year ago

If the user enters a state and doesn't change the state input and submits, proper error renders. If the user enters a city, enters a state, then changes the state input back to 'Select State' and submits, no error renders. Instead, the 'We're sorry, we didn't find any breweries' message renders.

Error message should render if the state input is in an improper format on form submission, regardless if the user selects a state and the reverts back to the 'Select State' option.