filament icon indicating copy to clipboard operation
filament copied to clipboard

Toggle or markdown editor in a modal break future actions

Open anthonyphysgun opened this issue 3 years ago • 7 comments

Package

filament/filament

Package Version

v3.0.0-beta2

Laravel Version

10.10

Livewire Version

No response

PHP Version

8.1.1

Problem description

When you have a toggle on a Action form, and close it and open another it breaks actions completely

Expected behavior

Not to break

Steps to reproduce

env - Windows + Valet for Windows

Just clone the repo, and view the Test page and press the actions in order, then repeat and it will be broken

Reproduction repository

https://github.com/anthonyphysgun/filament-toggleissue/tree/main

Relevant log output

No response

anthonyphysgun avatar Jul 20 '23 18:07 anthonyphysgun

Probably a Livewire issue. Similar behaviour with the markdown editor I noticed a few weeks ago.

danharrin avatar Jul 20 '23 19:07 danharrin

@danharrin, I've removed the roadmap entry for that to track it using this issue.

For reference:

When switching from modal with markdown editor to modal without markdown editor, Livewire JS error and modal without doesn't open.

zepfietje avatar Jul 20 '23 20:07 zepfietje

Should be fixed by alpinejs/alpine#3681

danharrin avatar Jul 29 '23 00:07 danharrin

Ok that is merged, just waiting for the next Livewire release before I close this

danharrin avatar Jul 29 '23 14:07 danharrin

@danharrin https://github.com/livewire/livewire/releases/tag/v3.0.0-beta.5

zepfietje avatar Jul 30 '23 07:07 zepfietje

Unfortunately that was too early for it to be released :(

danharrin avatar Jul 30 '23 08:07 danharrin

Should be fixed by now

danharrin avatar Aug 09 '23 06:08 danharrin