Replies: 1 comment 2 replies
-
You are free to change the shape of your action result return {
result: submission.reply(),
message: 'success',
} As long as you pass the submission result back to the useForm hook const actionData = useActionData()
const [form, fields] = useForm({
result: actionData?.result
}) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How to return custom success message with submission.reply()?
Beta Was this translation helpful? Give feedback.
All reactions