FilamentF
Filament5mo ago
Benji

Filament x Volt relationships

Hey 👋

I’m using Wave Dojo (Volt + Filament) docs link.
Everything works great, but I’m struggling with relationships in forms/tables.

Example: I have a flow table with many flow_steps:

public function steps()
{
    return $this->hasMany(FlowStep::class)->orderBy('scheduled_at');
}


In my form, I’m trying to show them in a repeater, but it’s always empty:

Repeater::make('steps')->schema([])


Where/how should I resolve relationships so the repeater (and tables) get data from related models?
Was this page helpful?