Trouble with Attach (Detach works)
I'm new to Filament, so this may be obvious, but I've got a simple many-to-many relationship set up and working. It's a "Family" that can have one or more "Person", and a "Person" can belong to more than one "Family". Pardon the funky plurals here. I'm still trying to figure out how Laravel likes these to be done.
My issue is that when I go to Attach a record to a Person who belongs to a Family, the Attach box comes up, but the pulldown is blank. However, the Search window can be typed in, and it pulls up real data. I can pick from the data (People) and attach the record. See enclosed pic. The tables are tiny (about 50 rows of fake data.
So all of this kinda works, but there are two issues:
Can anyone point me to a newbie HowTo on this subject? I'm soooo close to getting this working, but the solution is elusive.
My issue is that when I go to Attach a record to a Person who belongs to a Family, the Attach box comes up, but the pulldown is blank. However, the Search window can be typed in, and it pulls up real data. I can pick from the data (People) and attach the record. See enclosed pic. The tables are tiny (about 50 rows of fake data.
So all of this kinda works, but there are two issues:
- The pulldown doesn't populate, so I'm forced to use search.
- The Search only shows the
first_namefield and I'd like it to show thelast_namefield as well.
Can anyone point me to a newbie HowTo on this subject? I'm soooo close to getting this working, but the solution is elusive.
