F
Filament15mo ago
adam

Edit a Relation though a resource

I have an Instance model that has a HasOne relationship called CertificationRequest . In the InstanceRelation form I'd like to update a column on the CertificationRequest called Notes. I tried RichEditor::make('certificationRequest.notes') but no joy. I'd use a RelationManager but It's important that this is a page and not a modal. Alternatively, is it possible to load Resource/ID/Relation/new or something like that? If I create a CertificationRequestResource I'd have to pass an inspection ID in the query string to grab some of the data needed for display. Thanks!
1 Reply