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:
parent
c3692d3c52
commit
9e3d8ac92c
1 changed files with 4 additions and 0 deletions
|
@ -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])
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue