carbon-componentscarbon-components-reactDescribe in detail the issue you're having.
When a file is added using the FileUploaderButton it changes it'slabelTextto be the same as the file's name.
Is this issue related to a specific component?
FileUploaderButton
What did you expect to happen? What happened instead? What would you like to
see changed?
I would like thelabelTextof the button to not change when a file is uploaded
What browser are you working in?
Chrome
What version of the Carbon Design System are you using?
10.10.3
labelText of the button change to the name of the filePlease create a reduced test case in CodeSandbox
FileUploaderButton will always change the text to be the file text, because it is not displayed anywhere else. Can you try using the regular `
<FileUploader
multiple={false}
labelTitle="Im gonna change"
buttonLabel= 'Add files'
onChange={event => {
onFileAdded(event.target.files);
}}
/>

I initially did it manually using FileUploaderButton because I needed an event to bind to onDelete for the FileUploaderItem. I most likely missed something but I can't seem to find that event when using the regular FileUploader
currently only the drag and drop file uploader has hooks for the delete event, related issue for the standard file uploader here https://github.com/carbon-design-system/carbon/issues/5851
Cool, thanks for the reply! 馃槃