Package
filament/actions
Package Version
v4.9.3
Laravel Version
v13.3.0
Livewire Version
v3.7.13
PHP Version
PHP 8.5.4
Problem description
When a modal (or slideOver) action contains a form field with a dynamic mask (->mask(RawJs::make(...))), the modal opens correctly the first time. After closing it — without interacting with any field — attempting to open the same modal again does nothing. No error is shown, no exception is thrown, the modal simply does not appear.
Expected behavior
The modal should open normally every time the trigger is clicked, regardless of whether it was previously opened and closed
Steps to reproduce
- Create a page with an action that opens a modal
- Add a single TextInput with ->mask(RawJs::make("$money($input, '.', '', 2)")) inside the action schema
- Open the modal
- Close it without touching the field
- Click the button to open it again — nothing happens
Reproduction repository (issue will be closed if this is not valid)
https://github.com/albyzip/filament-mask-bug.git
Relevant log output
None. No JavaScript errors in console, no Laravel exceptions.
Package
filament/actions
Package Version
v4.9.3
Laravel Version
v13.3.0
Livewire Version
v3.7.13
PHP Version
PHP 8.5.4
Problem description
When a modal (or slideOver) action contains a form field with a dynamic mask (->mask(RawJs::make(...))), the modal opens correctly the first time. After closing it — without interacting with any field — attempting to open the same modal again does nothing. No error is shown, no exception is thrown, the modal simply does not appear.
Expected behavior
The modal should open normally every time the trigger is clicked, regardless of whether it was previously opened and closed
Steps to reproduce
Reproduction repository (issue will be closed if this is not valid)
https://github.com/albyzip/filament-mask-bug.git
Relevant log output
None. No JavaScript errors in console, no Laravel exceptions.