form-render

File Upload

This article describes how to integrate a file upload component in el-form-renderer.

Parent Component Configuration

In the parent component, we need to import the ManualUpload component via the component prop and pass configuration via the el prop.

Upload Component Attributes

The ManualUpload component is a wrapper component for manual upload scenarios. Upload triggers after clicking the submit button. Supports the following attributes (passed via el):

Example

Test cases cannot upload; please replace action with the upload address; this upload is manual upload, uploading after clicking submit.