Skip to content

Verify Code in Build Forms recipe #5777

@sarah11918

Description

@sarah11918

📚 Subject area/topic

Building forms recipe

📋 Page(s) affected (or suggested, for new content)

https://docs.astro.build/en/recipes/build-forms-api/

📋 Description of content that is out-of-date or incorrect

We had two people leave feedback regarding this recipe. Would be great if someone would review it, try it fresh and see if it needs updating or correcting!

Comment 1:
Following the code from https://docs.astro.build/en/recipes/build-forms-api/ and having a project with SSR enabled, the code for the submit function that does prevent default cant be reached

Comment 2:
Suggest pointing out the Vue component for the "build-forms-api" page needs "client:*" within the Astro page.

🖥️ Reproduction in StackBlitz (if reporting incorrect content or code samples)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    code snippet updateUpdates a code sample: typo, outdated code etc.good first issueGood for newcomershelp - confirm behaviourWalk through the example/issue and confirm this is a general behaviour, or a correct update to make.help wantedIssues looking for someone to run with them!improve or update documentationEnhance / update existing documentation (e.g. add example, improve description, update for changes)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions