Topic: I have a multi form, first form I capture user details and then second form upload docs, but when I go back to the user details and come back to upload docs form the docs are not attached but the state still has the uploaded files
Paul TP free asked 4 years ago
I have a multi form, first form I capture user details and then second form upload docs, but when I go back to the user details and come back to upload docs form the docs are not attached but the state still has the uploaded files. So how to keep the docs attached to form when the user goes back to a first form.
handleUpload = (file) => {
this.setState({
image: file[0],
});
<MDBFileInput textFieldTitle="image"
getValue={this.handleUpload}
/>
Add comment
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Opened
Specification of the issue
- ForumUser: Free
- Premium support: No
- Technology: MDB React
- MDB Version: 4.24.0
- Device: Laptop
- Browser: chrome
- OS: fedora 31
- Provided sample code: No
- Provided link: No