Skip to content

Forkify final project: only one new recipe can be added #469

Description

@myshkarus

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:

  1. Click the ADD RECIPE button.
  2. Fill in all required fields (RECIPE DATA / INGREDIENTS).
  3. Click the UPLOAD button.
  4. Wait for the success message to disappear.
  5. 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions