Metafields Not working with React Dashboard Component

Hey, looking to figure out how to enable the the metadata edit fields in the Dashboard react component.

I see that the Dashboard component accepts all props from @uppy/dashboard options, so I have passed a couple of values for metaFields, but I only see the “Link” option when the file successfully uploads. What am i missing here?

   <DashboardComponent
          uppy={this.uppy}
          inline={true}
          metaFields={
            [
              { id: 'name', name: 'Name', placeholder: 'file name' },
              { id: 'caption', name: 'Caption', placeholder: 'describe what the image is about' }
            ]
          }
        />

Hey! This is an old post, so it might have just been a bug that’s been resolved, but I’ll still try to help.

First of all, the inline attribute is not necessary, as if you are using the Dashboard component, it is going to be inline no matter what.

I’d assume the issue with the metaFields was, just a bug. I don’t see anything that you’ve done wrong. By now, over a year later, I’m pretty sure that this should be resolved.

It appears that the issue that was created for this problem was closed (https://github.com/transloadit/uppy/issues/1525).

Best wishes
- Andrew