From 615dfb2e702345c8f9b1915b2bb5c384d59f6874 Mon Sep 17 00:00:00 2001 From: Kirill Barsukov Date: Sat, 28 Sep 2024 10:12:29 -0400 Subject: [PATCH] added onSubmit property --- docs/intent-button.md | 53 ++++++++++++++++++++----------------------- 1 file changed, 24 insertions(+), 29 deletions(-) diff --git a/docs/intent-button.md b/docs/intent-button.md index 2f797d3f..5fb6bd08 100644 --- a/docs/intent-button.md +++ b/docs/intent-button.md @@ -135,42 +135,37 @@ Be aware that both intents requires setting up the inputs with the **key** from To manipulate a field list, you can use the **insert**, **remove** and **reorder** intents. ```tsx -import { useForm, getFormProps, getInputProps } from '@conform-to/react'; +import { useForm } from '@conform-to/react'; export default function Tasks() { const [form, fields] = useForm(); const tasks = fields.tasks.getFieldList(); return ( -
+