complete-javascript-course
complete-javascript-course copied to clipboard
Forkify final project: only one new recipe can be added
Issue: Only one new recipe can be added. After the new recipe is submitted, clicking the ADD RECIPE button opens the success message modal again instead of showing an upload form.
Possible cause: The upload form is not re-rendered programmatically after submission.
Steps to reproduce:
- Click the ADD RECIPE button.
- Fill in all required fields (RECIPE DATA / INGREDIENTS).
- Click the UPLOAD button.
- Wait for the success message to disappear.
- Click the ADD RECIPE button again.
Expected result: A new upload form should be displayed. Actual result: The success message modal window is displayed again instead of the upload form.
Hi @jonasschmedtmann 👋 I noticed this issue was raised by @myshkarus , but it seems like something I can help fix. Could you please confirm if it’s open for contribution and assign it to me if it is? Thanks!