diff --git a/app/components/SubmitButton.tsx b/app/components/SubmitButton.tsx index 106f56582..1393571e1 100644 --- a/app/components/SubmitButton.tsx +++ b/app/components/SubmitButton.tsx @@ -32,16 +32,24 @@ export function SubmitButton({ return undefined; }; + // render action as hidden input to deal with a bug in older Safari versions + const isActionValue = name() === "_action"; + return ( - + <> + {isActionValue ? ( + + ) : null} + + ); }