Metafields Not working with React Dashboard Component

#1

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' }
            ]
          }
        />