diff options
Diffstat (limited to 'packages/merchant-backoffice-ui/src/components/form/InputPaytoForm.tsx')
-rw-r--r-- | packages/merchant-backoffice-ui/src/components/form/InputPaytoForm.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/merchant-backoffice-ui/src/components/form/InputPaytoForm.tsx b/packages/merchant-backoffice-ui/src/components/form/InputPaytoForm.tsx index 7bf39152b..68f79bc35 100644 --- a/packages/merchant-backoffice-ui/src/components/form/InputPaytoForm.tsx +++ b/packages/merchant-backoffice-ui/src/components/form/InputPaytoForm.tsx @@ -195,7 +195,7 @@ export function InputPaytoForm<T>({ if (opt_value) url.searchParams.set(opt_key, opt_value); }); } - const paytoURL = !url ? "" : url.toString(); + const paytoURL = !url ? "" : url.href; const errors: FormErrors<Entity> = { target: value.target === noTargetValue ? i18n.str`required` : undefined, |