File input fields provide an easy way to upload files and store their path in your model. This input type utilizes Laravel Filemanager to handle the uploading process or to simply get path values.
| Parameter name | Description |
|---|---|
| directory | Upload directory under the public storage path |
Things to consider while using File inputs:
If you need a File input, the following configuration should be sufficient to handle uploads:
field_attachment_src:
type: file
name: Attached file
parameters:
directory: news_attachments