Topic: where is the MDBFileupload "ref" documentation

Two Aow priority asked 2 years ago


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}**


Wojciech Staniszewski staff commented 2 years ago

We currently do not support ref in the FileUpload plugin. However, you should be able to access preview with the class: file-upload-previews.



Please insert min. 20 characters.

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: Priority
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: MDB5 4.2.0
  • Device: MacBook Pro
  • Browser: Chrome
  • OS: Monterey
  • Provided sample code: Yes
  • Provided link: No