filament/tables
v3.2.122
v11.30
No response
PHP 8.2
Let's say we have a relation manager with a custom column. In this column, we want to add a button that opens a modal window.
This works when there are no actions in the relation manager (it is possible to open the modal window). If there are actions present (in Edit mode, for example) in the relation manager, then the modal window contained in the custom column no longer works.
If this Title Custom column is added in a table (not a relation manager), it works as expected (even in Edit mode).
The modal window should open under all circumstances.
/admin/articles/1
(View Mode) -> Click on buttons "Comment 1" and "Comment 2" : a modal is opened./admin/articles/1/edit
(View Mode) -> Click on buttons "Comment 1" and "Comment 2" : nothing happens.https://github.com/gregoryloichot/filament-modal-issue
In edit mode, JS errors in the browser:
Alpine Expression Error: isOpen is not defined
Expression: "isOpen"
<div x-cloak="" x-show="isOpen">
Alpine Expression Error: isOpen is not defined
Expression: "isOpen"
<div class="fi-modal-close-overlay f…/50 dark:bg-gray-950/75" aria-hidden="true" x-show="isOpen" x-transition.duration.300ms.opacity="">
Uncaught ReferenceError: isOpen is not defined
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too