-
Notifications
You must be signed in to change notification settings - Fork 137
Platform: FIle Uploader Component Technical Design
Kevin Okamoto edited this page Feb 20, 2020
·
5 revisions
The File Uploader is an input element for uploading files to the application.
<fdp-file-uploader
[(ngModel)]="newFiles"
[multiple]="true"
[accept]="'.png,.jpg,.gif'">
</fdp-file-uploader>The Fundamental NGX: Core has an implementation of a file upload component called FileInput. We could utilize the FileInput component in the Platform FileUploader component. As such the bindings for the components will be the same.
As this is an input control it needs to implement the FormFieldControl as described in the FormGroup Layout or extend existing BaseInputComponent.