From 4e3ff9680a3bec867f8c891265ce3c6abe0bcde2 Mon Sep 17 00:00:00 2001
From: charlottesce <75381352+charlottesce@users.noreply.github.com>
Date: Wed, 7 Jun 2023 13:51:31 -0400
Subject: [PATCH] [Media] Fix Input callback not set (#8720)
Add a onUserInput prop to the "Update File" ButtonElement
Fixes #8700
---
modules/media/jsx/editForm.js | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/modules/media/jsx/editForm.js b/modules/media/jsx/editForm.js
index 575a542765f..579bc9d15db 100644
--- a/modules/media/jsx/editForm.js
+++ b/modules/media/jsx/editForm.js
@@ -183,7 +183,10 @@ class MediaEditForm extends Component {
ref='hideFile'
value={this.state.formData.hideFile}
/>
-
+ {}}
+ />
);