Closed howdu closed 1 year ago
Still relevant on liveware 3.0.0-beta10
I believe livewire/livewire#6521 is a failing test for this
Can confirm this. It happens with any kind of "repeating" component, such as Builder, Repeater, etc.
After you add an item, remove it and then repeat the same process it will throw that error.
EDIT: sorry, didn't realise that it was already fixed and waiting for release in Livewire :)
Fixed in Livewire v3.0.2
Package
filament/filament
Package Version
v3.0.28
Laravel Version
10.19.0
Livewire Version
v3.0.0-beta.10
PHP Version
8.1.14
Problem description
An issue with the Builder when it contains a RichEditor.
On first saves it works but throws an error on the third save.
Checking the Livewire request it looks to be getting mixed up with two keys that refer to the same block.
Error is thrown from Undefined array key "type" but appears to be issue from the Livewire request
https://github.com/filamentphp/filament/assets/533658/f512bb8e-8d39-4550-a64c-2f0201d52119
Expected behavior
Save to work each time.
Steps to reproduce
Reproduction repository
https://github.com/howdu/filament-tester
Relevant log output
No response