Topic: where is the MDBFileupload "ref" documentation
Expected behavior Expected docs for plugin properties
Actual behavior No documentation for "ref" property or its use. What is this ref used for? Can I use it to set the display of the preview to none? I can't seem to find any documentation on it.
Resources (screenshots, code snippets etc.)
<MDBFileupload getValue={this.handleFileuploadChange} maxFileSize="5M" showSubmitButton onSubmitHandler={this.onSubmitHandler} **ref={fileupload => this.fileupload = fileupload}**
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Open
- User: Pro
- Premium support: Yes
- Technology: MDB React
- MDB Version: MDB5 4.2.0
- Device: MacBook Pro
- Browser: Chrome
- OS: Monterey
- Provided sample code: No
- Provided link: No
Wojciech Staniszewski staff commented 2 years ago
We currently do not support
ref
in theFileUpload
plugin. However, you should be able to access preview with the class:file-upload-previews
.