Skip to content
Discussion options

You must be logged in to vote

Try this on the field/s you want to show:

->visible(fn ($livewire) => $livewire->ownerRecord->type === 'faculty')

https://filamentadmin.com/docs/2.x/forms/advanced#using-closure-customisation

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@anishsarkar
Comment options

@danharrin
Comment options

@anishsarkar
Comment options

@anishsarkar
Comment options

Answer selected by anishsarkar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants