Adjust form fields shown when user views resource
Filament has a default built-in ViewAction(), which you can add to an ActionGroup() in your table() function, so in the overview you can click on "view record". By default, all the fields are disabled and shown in a modal.
My question: how do I hide certain inputs in this modal?
Context: On the edit page, people can edit the password. But when the record is shown in "view mode", no need to show those password fields.
I hope you guys can help me out.
0 Replies