From 78ba97c88c81b23a5d3b72945ebc8a108703e718 Mon Sep 17 00:00:00 2001 From: carrythemountain Date: Fri, 30 Aug 2024 14:49:03 -0500 Subject: [PATCH] correct setValue to include / (#423) --- .../src/ui-formik/FieldWrapperFormik/fields/FormikTapisFile.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tapisui-common/src/ui-formik/FieldWrapperFormik/fields/FormikTapisFile.tsx b/packages/tapisui-common/src/ui-formik/FieldWrapperFormik/fields/FormikTapisFile.tsx index 562e64b5a..dbd95aeb6 100644 --- a/packages/tapisui-common/src/ui-formik/FieldWrapperFormik/fields/FormikTapisFile.tsx +++ b/packages/tapisui-common/src/ui-formik/FieldWrapperFormik/fields/FormikTapisFile.tsx @@ -71,7 +71,7 @@ export const FormikTapisFileInput: React.FC = ({ const onSelect = useCallback( (systemId: string | null, files: Array) => { if (allowSystemChange) { - setValue(`tapis://${systemId ?? ''}${files[0].path}`); + setValue(`tapis://${systemId ?? ''}/${files[0].path}`); } else { setValue(`${files[0].path}`); }