Fileupload bug??? #15912
Unanswered
Greatwolf3
asked this question in
Help
Fileupload bug???
#15912
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Package
Form builder
Package Version
v3.2
How can we help you?
Tabs\Tab::make(__('portali.images'))
->schema([
Forms\Components\FileUpload::make('images')
->required()
->disk('public')
->directory('offerte')
->panelLayout('grid')
->getUploadedFileNameForStorageUsing(
fn(TemporaryUploadedFile $file): string => (string)str($file->getClientOriginalName())
->prepend('logo-' . Str::uuid() . '-'),
)
->image()
->multiple(),
]),
with this configuration the images are loaded correctly but they are displayed like this
Beta Was this translation helpful? Give feedback.
All reactions