mirror of
https://github.com/anna-sara/filament_inventory
synced 2025-10-27 00:07:13 +01:00
Fix with upload image
This commit is contained in:
parent
4de915aa42
commit
daca1c7886
1 changed files with 2 additions and 1 deletions
|
|
@ -32,9 +32,10 @@ class ItemResource extends Resource
|
|||
->schema([
|
||||
Forms\Components\FileUpload::make('image')
|
||||
->label('Image')
|
||||
->minSize(512)
|
||||
->minSize(25)
|
||||
->maxSize(5500)
|
||||
->columnSpan('full')
|
||||
->disk('public')
|
||||
->image(),
|
||||
Forms\Components\TextInput::make('desc')
|
||||
->label('Description')
|
||||
|
|
|
|||
Loading…
Reference in a new issue