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?

              { id: 'name', name: 'Name', placeholder: 'file name' },
              { id: 'caption', name: 'Caption', placeholder: 'describe what the image is about' }