F
Filament12mo 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
awcodes12mo 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_voidxd12mo ago
Any news on this? I'd also like to hide the ManyToMany relationship manager on edit. i only needed it on View
Patrick
Patrick12mo ago
.selector { display:none } 😂
awcodes
awcodes11mo 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.
Want results from more Discord servers?
Add your server