Let’s talk

All work

Case study / React profile editor

Handling dependent fields in a profile form.

A design and development example from 2024, recreated with neutral labels and sample data.

Recreated example
Focus
Front-end engineering
My contribution
React profile form implementation
Stack
React · TypeScript · Formik · Yup

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.

Have something in mind?

Let’s talk.

Tell me what you’re building. Let’s find the right way to bring it to life.