plytas.dev
plytas.dev
FFilament
Created by plytas.dev on 8/25/2023 in #❓┊help
TernaryFilter null state is broken after refreshing and reseting filters.
Fork it is
15 replies
FFilament
Created by plytas.dev on 8/25/2023 in #❓┊help
TernaryFilter null state is broken after refreshing and reseting filters.
Bot autoclosed the issue even though I did put reproduction repository which is https://github.com/filamentphp/demo
15 replies
FFilament
Created by plytas.dev on 8/25/2023 in #❓┊help
TernaryFilter null state is broken after refreshing and reseting filters.
Tried investigating it further, but wasn't able to find a fix, so I'll submit an issue.
15 replies
FFilament
Created by tinkypinky on 8/25/2023 in #❓┊help
Custom Commands on Page Load
In your panel provider you can add middlewares. Would that help?
3 replies
FFilament
Created by plytas.dev on 8/25/2023 in #❓┊help
TernaryFilter null state is broken after refreshing and reseting filters.
I believe what happens is that state value becomes a string "null" and it becomes true when being cast to bool.
15 replies
FFilament
Created by plytas.dev on 8/25/2023 in #❓┊help
TernaryFilter null state is broken after refreshing and reseting filters.
This does not happen if you don't refresh the page in step 5. In that case reseting filters removes query param completely.
15 replies
FFilament
Created by plytas.dev on 8/25/2023 in #❓┊help
TernaryFilter null state is broken after refreshing and reseting filters.
Notice that when applying With deleted records there's a first row Dr. Dustin ... that's actually soft deleted. After reseting filters and refreshing page the filter gets applied again.
15 replies
FFilament
Created by plytas.dev on 8/25/2023 in #❓┊help
TernaryFilter null state is broken after refreshing and reseting filters.
Here's a recording of this issue.
15 replies