Skip to content

Cannot read properties of undefined (reading 'dispatchEvent') Action in table #16298

@Simone4e

Description

@Simone4e

Package

filament/filament

Package Version

v3x

Laravel Version

v12

Livewire Version

No response

PHP Version

php 8.4

Problem description

When I click on the icon column instead of opening the modal the first time it gives me an error, the second time it works.

Expected behavior

It should open the first time

Steps to reproduce

  • Go to users
  • Click icon column test
  • Try to click the second icon column test and see console log output, then try again it will open the modal

Reproduction repository (issue will be closed if this is not valid)

https://github.com/Simone4e/Bug-filament-Dispatch

Relevant log output

VM2877:21 Uncaught TypeError: Cannot read properties of undefined (reading 'dispatchEvent')
    at eval (eval at safeAsyncFunction (livewire.js?id=df3a17f2:1174:21), <anonymous>:21:43)
    at livewire.js?id=df3a17f2:1527:9
    at releaseNextTicks (livewire.js?id=df3a17f2:1535:24)
    at livewire.js?id=df3a17f2:1522:9

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions