Skip to content

Commit

Permalink
πŸ“ fix: useform TSdocs (#1026)
Browse files Browse the repository at this point in the history
  • Loading branch information
neighborhood999 authored Nov 16, 2023
1 parent 5c04f3d commit c183bae
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/content/docs/useform.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,7 @@ useForm({
- There are other options for including form data:

```javascript
;<input {...register("hidden")} type="hidden" />
register("hidden", { value: "data" })
<input {...register("hidden", { value: "data" })} type="hidden" />

// include data onSubmit
const onSubmit = (data) => {
Expand Down

1 comment on commit c183bae

@vercel
Copy link

@vercel vercel bot commented on c183bae Nov 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

react-hook-form-website – ./

react-hook-form-website-hook-form.vercel.app
react-hook-form.com
react-hook-form-website-git-master-hook-form.vercel.app

Please sign in to comment.