F
Filament2mo ago
ByteXR

Conditionally show widget based on record

Is it possible to show widget conditionally based on the record. I know there is canView function but it is static and therefore has no access to $this->record at that point Thank you for all your help!
1 Reply
Miguel García
Not sure where do you want to do that but you might be looking for utility injection https://filamentphp.com/docs/3.x/forms/getting-started#dependant-fields
Want results from more Discord servers?
Add your server