F
Filamentβ€’9mo ago
Alex Manase

FileUpload: "Browse" button is frozen when the component is inside a Repeater

Hi, there! The "Browse" button from FileUpload component is frozen when it is inside a repeater, but I can upload the file if I drag and drop the file. My form schema:
Repeater::make('photos')
->label('')
->addActionLabel('Add')
->schema([
TextInput::make('photo_title')
->maxLength(100),
FileUpload::make('photo')
->image()
->openable()
]),
Repeater::make('photos')
->label('')
->addActionLabel('Add')
->schema([
TextInput::make('photo_title')
->maxLength(100),
FileUpload::make('photo')
->image()
->openable()
]),
The console log when I create a repeater field:
Livewire Entangle Error: Livewire property ['data.photos.d1c2ef2b-f257-47e8-bf25-1a3a1cdc0bed.file'] cannot be found on component: ['app.filament.admin.resources.house-resource.pages.edit-house']
Livewire Entangle Error: Livewire property ['data.photos.d1c2ef2b-f257-47e8-bf25-1a3a1cdc0bed.file'] cannot be found on component: ['app.filament.admin.resources.house-resource.pages.edit-house']
Thank you!
1 Reply
gorg0350
gorg0350β€’8mo ago
Hi, do you solved it? πŸ™‚
Want results from more Discord servers?
Add your server