Search
Setup for Free
F
Filament
•
3y ago
LeandroFerreira
you should check the visibility in the view ```php {{ ($action = $this->testAction())->isVisible()
you should check the visibility in the view
{{ ($action = $this->testAction())->isVisible() ? $action : '' }}
{{ ($action = $this->testAction())->isVisible() ? $action : '' }}
Filament
Join
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,357
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
{{ ($action
=
$this
->
testAction
())
->
isVisible
()
?
$action
:
''
}}
{{ ($action
=
$this
->
testAction
())
->
isVisible
()
?
$action
:
''
}}
No replies yet
Be the first to reply to this message
Join
Similar Threads
View in Modal Action
F
Filament / ❓┊help
2mo ago
TestAction nested field access
F
Filament / ❓┊help
6mo ago
Error message isVisible()
F
Filament / ❓┊help
3y ago