filament: Console error when using Select in modal

Package

filament/filament

Package Version

3.0.39

Laravel Version

10.21.0

Livewire Version

3.0.1

PHP Version

8.1.22

Problem description

using none native in a modal, a console error is shown after closing the modal

image

Expected behavior

no error in console

Steps to reproduce

  • pull the repo @ branch: select-field-console-error
  • artisan test:init
  • navigate to Task > create/edit > click Create task item (relation manager) > close, don’t need to create or open dropdown

Reproduction repository

https://github.com/wychoong/filament-test/tree/select-field-console-error

Relevant log output

No response

About this issue

  • Original URL
  • State: closed
  • Created 10 months ago
  • Comments: 16 (14 by maintainers)

Most upvoted comments

It’s a Livewire 3 issue where it runs watchers after the properties from the component are destroyed, I tried submitting a failing test before but it wasn’t good enough

@uevandalla While there is a console error, it should not affect the functionality of the page.

It’s a Livewire 3 issue where it runs watchers after the properties from the component are destroyed, I tried submitting a failing test before but it wasn’t good enough

Any movement on this? we are having the same issue after upgrading from Filament version 2 to version 3 with several of our pages