From 105affc643c6652b4bf290144d28ddd612416d9a Mon Sep 17 00:00:00 2001 From: Karl Horky Date: Thu, 2 Oct 2025 15:38:41 +0200 Subject: [PATCH] Add note about $ACTION_ properties, remove reference to .entries() --- docs/01-app/02-guides/forms.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/01-app/02-guides/forms.mdx b/docs/01-app/02-guides/forms.mdx index 8d6462d469b34..bdbf9c3faf88b 100644 --- a/docs/01-app/02-guides/forms.mdx +++ b/docs/01-app/02-guides/forms.mdx @@ -50,7 +50,7 @@ export default function Page() { } ``` -> **Good to know:** When working with forms that have multiple fields, you can use the [`entries()`](https://developer.mozilla.org/en-US/docs/Web/API/FormData/entries) method with JavaScript's [`Object.fromEntries()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/fromEntries). For example: `const rawFormData = Object.fromEntries(formData)`. +> **Good to know:** When working with forms that have multiple fields, use JavaScript's [`Object.fromEntries()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/fromEntries). For example: `const rawFormData = Object.fromEntries(formData)`. Note that this object will contain extra properties prefixed with `$ACTION_`. ## Passing additional arguments