Closed thettler closed 1 month ago
@danharrin Seems like owner of alpine-tooltip
is unresponsive :(
@ryangjchandler @danharrin, could you guys find the time to merge https://github.com/ryangjchandler/alpine-tooltip/pull/43 and tag a new release of the alpine-tooltip package? There's been multiple Filament bug reports that should be solved by that PR.
@zepfietje Bump dependency to v2.0.1 and should be good to go.
That's quick, thanks Ryan! This issue should be fixed after https://github.com/filamentphp/filament/commit/fe50f8e6c9f2f7ac9a5dd76797cd3165733934c9.
Package
filament/filament
Package Version
3.2.34
Laravel Version
v10.45.1
Livewire Version
v3.4.6
PHP Version
8.3.2
Problem description
If you have dynamic Tooltips like this:
And the state changes so that
null
would be returned the tooltip will not be disappear but still show the old value. This can happen if you use, for example, thefilament/spatie-laravel-translatable-plugin
package and switch languages.Expected behavior
The Tooltip should not appear with the old value again if a falsify value is returned from the evaluation function.
Steps to reproduce
First have a evaluation function that returns a string for the tooltip, than dynamically change something to not full fill the condition and return
false
,null
or''
.In the Repo:
php artisan migrate --seed
ResourcePath:
app/Filament/Resources/Blog/PostResource.php:43
Reproduction repository
https://github.com/thettler/demo/tree/tooltip-not-disappear
Relevant log output
No response
Donate 💰 to fund this issue