Skip to content

Read csv file data onchange #229

@renjiie

Description

@renjiie

Bug Report

In the dropzone when a csv file is dropped the onchange function just shows the object which contains the file name and its size. But the file content is not present in the object to parse or read it.

Steps to reproduce

Steps to reproduce the behavior:

  1. Create a dropzone dialog box
  2. Click on upload file
  3. Select a csv file
  4. log the onchange object , no file content is getting logged

Expected behavior

Onchange the file content should also present in the object for further usage

Versions

  • Browser: [e.g. chrome, safari]
  • @material-ui/core version: [e.g. 4.9.2]
  • material-ui-dropzone version: [e.g. 3.0.1]

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions