diff --git a/apps/admin-ui/src/components/json-file-upload/FileUploadForm.tsx b/apps/admin-ui/src/components/json-file-upload/FileUploadForm.tsx index 68a7a0f61b..94d60544ac 100644 --- a/apps/admin-ui/src/components/json-file-upload/FileUploadForm.tsx +++ b/apps/admin-ui/src/components/json-file-upload/FileUploadForm.tsx @@ -152,7 +152,7 @@ export const FileUploadForm = ({ code={fileUpload.value} language={language} height="128px" - onChange={(value) => setFileUpload({ ...fileUpload, value })} + onChange={handleTextOrDataChange} isReadOnly={!rest.allowEditingUploadedText} /> )}