Skip to content

[Bug]: filter not working #2305

@afzalursyaref

Description

@afzalursyaref

What happened?

when i select filter option, i get error in browser console :
Uncaught InvalidCharacterError: Failed to execute 'setAttribute' on 'Element': '0' is not a valid attribute name.
at HTMLDivElement.newSetAttribute [as setAttribute] (livewire.js?id=df3a17f2:8603:25)
at patchAttributes (livewire.js?id=df3a17f2:8363:17)
at patch (livewire.js?id=df3a17f2:8316:9)
at patchChildren (livewire.js?id=df3a17f2:8476:9)
at patch (livewire.js?id=df3a17f2:8320:9)
at patchChildren (livewire.js?id=df3a17f2:8476:9)
at patch (livewire.js?id=df3a17f2:8320:9)
at patchChildren (livewire.js?id=df3a17f2:8476:9)
at patch (livewire.js?id=df3a17f2:8320:9)
at patchChildren (livewire.js?id=df3a17f2:8476:9)

but if i reload the page after change filter, datatable can get result normally

How to reproduce the bug

  1. select filter option

Package Version

3.7.3

PHP Version

None

Laravel Version

12

Alpine Version

livewire v3.6.4

Theme

Bootstrap 5.x

Notes

No response

Error Message

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions