Fill Select on relationmanager creation form
How can i pre-fill parent relation selector on a create form on a relationmananger?
On the Practice View, i have a Patient relationmanager, and when i create a new patient on that page, i want to have already selected the practice, but i'm not sure how I can implement that.
I tried using afterStateHydrated, but I'm not sure which injections i need to get to get the ID of the practice of which page I'm on right now.
1 Reply
This is already done automatically by filament, just remove the select field entirely π