file upload max size feature (#328)
* file upload max size feature * Change label --------- Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
@@ -118,6 +118,9 @@ abstract class UserFormRequest extends \Illuminate\Foundation\Http\FormRequest
|
||||
'properties.*.generates_uuid' => 'boolean|nullable',
|
||||
'properties.*.generates_auto_increment_id' => 'boolean|nullable',
|
||||
|
||||
// For file (min and max)
|
||||
'properties.*.max_file_size' => 'min:1|numeric',
|
||||
|
||||
// Security & Privacy
|
||||
'can_be_indexed' => 'boolean',
|
||||
'password' => 'sometimes|nullable',
|
||||
|
||||
Reference in New Issue
Block a user