| difficulty | training | chapter | tags |
|---|---|---|---|
1 |
true |
Chapter 5: Challenge Roundup |
codechallenge, Bug Fixing Challenge, vue 3 |
You are working on a form that updates a user's profile. However, there is a bug in the code, that updates the current user before submitting the form.
Your task is to identify and fix the bug, ensuring that the user profile is only updated when the save button is pressed.
- The users name and email updates correctly when the save button is pressed.
- The users name and email are not updated when the input fields are changed.
-
If you see the
data-testattribute anywhere in the boilerplate don't remove it. -
TailwindCSS is preinstalled with the default config. It might be helpful for you, if you want to have some styles. (Not obligatory)