© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•16mo ago•
4 replies
treii28

Create Comment - where to inject parent ID?

I was able to get a view and edit to display comments related to orders, but the 'create' button(s) aren't working because it's not carrying over the order item id. I'm not sure where or how to interject that value.

When I edit the order record, it shows the comments at the bottom with a create record (action) button.

I was able to track this down to the relation manager actions by playing with the ->label() method. But clicking that button pops up a modal and I'm not sure how to make it aware of the order item id.
image.png
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Passing parent id to child create view
FilamentFFilament / ❓┊help
3y ago
Category with Parent_id
FilamentFFilament / ❓┊help
3y ago
Create relationship data from Parent from Create Page.
FilamentFFilament / ❓┊help
10mo ago
Import action afterCreate / afterSave not working to get parent ID
FilamentFFilament / ❓┊help
9mo ago