Allow selecting multiple files in file input
This commit is contained in:
@@ -45,7 +45,7 @@ class FileSharing extends Component
|
|||||||
render()
|
render()
|
||||||
{
|
{
|
||||||
return (
|
return (
|
||||||
<input type='file' onChange={this.handleFileChange} />
|
<input type='file' onChange={this.handleFileChange} multiple />
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user