mirror of
https://github.com/anna-sara/filament_inventory
synced 2025-10-27 00:37:14 +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([
|
->schema([
|
||||||
Forms\Components\FileUpload::make('image')
|
Forms\Components\FileUpload::make('image')
|
||||||
->label('Image')
|
->label('Image')
|
||||||
->minSize(512)
|
->minSize(25)
|
||||||
->maxSize(5500)
|
->maxSize(5500)
|
||||||
->columnSpan('full')
|
->columnSpan('full')
|
||||||
|
->disk('public')
|
||||||
->image(),
|
->image(),
|
||||||
Forms\Components\TextInput::make('desc')
|
Forms\Components\TextInput::make('desc')
|
||||||
->label('Description')
|
->label('Description')
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue