F
Filament14mo ago
Mirakel

added a relationship manager (Table) to a Resource class but it is showing also on the edit page

what is the proper way to hide it from the edit page?
4 Replies
awcodes
awcodes14mo ago
What are you trying to do? relationship managers are suppose to show on edit and view page. They don’t make much sense anywhere else since they need a record to work right.
george_voidxd
george_voidxd14mo ago
Any news on this? I'd also like to hide the ManyToMany relationship manager on edit. i only needed it on View
Patrick
Patrick14mo ago
.selector { display:none } 😂
awcodes
awcodes14mo ago
Don’t put it in the resource. Use the same method on the ViewRecord class and it will only show on the View. Still doesn’t make sense to me though since there’s no way to manage the relations except on the EditRecord class.

Did you find this page helpful?