description |
---|
make |
Argument | Type | Required | Default |
---|---|---|---|
label | string | true | |
fieldName | string | true | |
disk | string | false | public |
This parameter allows you to define a label for the file field.
Specifies the name of the input element . The value you provide depends on whether you are using Larupload or not:
- Without Larupload: In this case, you should provide the name of the file column as the Field Name parameter.
- With Larupload: Specify the name of the Larupload attachment entity.
This parameter is used to specify the name of your preferred disk as defined in the config/filesystems.php
file.
{% hint style="info" %} It's important to note that when you are using Larupload to handle the upload process, the Disk argument is not utilized.
For detailed information and configurations related to Larupload, please refer to the Larupload documentation. {% endhint %}