deat(company): add required file input
This commit is contained in:
parent
500f934deb
commit
5dd5d8316c
@ -228,7 +228,8 @@ public static function form(Schema $schema): Schema
|
|||||||
->disk(config('filesystems.default'))
|
->disk(config('filesystems.default'))
|
||||||
->acceptedFileTypes($doc['accept'])
|
->acceptedFileTypes($doc['accept'])
|
||||||
->maxSize($doc['max_size'])
|
->maxSize($doc['max_size'])
|
||||||
->directory($doc['folder'].now()->toDateString()),
|
->directory($doc['folder'].now()->toDateString())
|
||||||
|
->required(),
|
||||||
])
|
])
|
||||||
)->toArray()
|
)->toArray()
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user