mirror of
https://gitlab.com/MrFry/qmining-page
synced 2025-04-01 20:23:44 +02:00
Added file name to sent form data #7
This commit is contained in:
@@ -43,6 +43,10 @@ export default function Feedback (props) {
|
||||
}
|
||||
|
||||
const onFileChangeHandler = (e) => {
|
||||
setForm({
|
||||
...form,
|
||||
file: e.target.files[0].name
|
||||
})
|
||||
setFile(e.target.files[0])
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user