Closed binaryfire closed 9 months ago
Hey @binaryfire! We're sorry to hear that you've hit this issue. 💛
However, it doesn't look like you've provided much information on how to replicate the issue. Please edit your original post with clear steps we need to take.
@danharrin This shouldn't have been auto-closed. I included a video which clearly demonstrates the issue and how to reproduce it.
In the future, the video can go in the "Steps to reproduce" field, so the bot knows that you've put in some effort
I'm also occasionally seeing this when I try and delete blocks containing KV fields from a Builder field. Perhaps it sheds more light on the problem:
I'm sorry, I've spent like 4 hours on this now and cannot narrow down what is happening, I'm going to have to move on. If anyone wants to do more research:
x-for
something is replicating those template rowsx-data
, or if it is registered via Alpine.data()
. It only happens if the component is served with Async Alpine, so maybe that is part of what is wrong.PR submitted to dependency to fix this issue.
Package
filament/filament
Package Version
3.0.73
Laravel Version
10.2.6
Livewire Version
3.0.7
PHP Version
8.2
Problem description
Video: https://www.youtube.com/watch?v=NhrMKYYAoWM
Additionally, these phantom rows can't be deleted (the delete button doesn't work)
Expected behavior
Extra rows shouldn't be added when the KV field is moved.
Steps to reproduce
See video
Reproduction repository
https://github.com/binaryfire/filament-kv-bug
Relevant log output
No response