Chapter 01
The task
The editor used role-dependent categories and loaded city options from an API. One change was to move the Current City field above Username. The larger implementation problem was keeping what the form showed in sync with validation and the submitted data.
Chapter 02
Designing for changes of mind
Changing a role can invalidate a category the user already selected. The design needs a clear rule for that earlier choice, along with feedback when city options are still loading or cannot be fetched. A failed save should leave the person's valid input available for a retry.
Keep exploring
