0

I have this supersimple ReactJs Codesandbox can someone explain how the showSelectedFiles: false works. I read the docs that the selected files after user have picked files is hidden but they are not in my Sandbox.

What I'm I doing wrong?

Kid
  • 1,869
  • 3
  • 19
  • 48

1 Answers1

1

You need to pass the option in as a prop to your <Dashboard> and not when you initialize Uppy() like this:

  render() {
    return (
      <Dashboard
        uppy={this.uppy}
        plugins={["Webcam"]}
        showSelectedFiles={false}
      />
    );
  }
Sir Codes Alot
  • 1,149
  • 8
  • 11