eternagame / eterna-mobile

Eterna mobile app
BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

Update settings fields to handle null validation states #89

Closed tkaragianes closed 2 years ago

tkaragianes commented 2 years ago

Closes #85. This commit adds null validation states for the password and email fields. If new and confirm password fields are empty, we shouldn't be displaying a "Passwords match" feedback message. Similarly, an empty email field before data load shouldn't be viewed as an invalid error state. The commit also adds the loading state correctly when waiting on the server for user data.