F
Filament7mo ago
negro

display data according related relationships

I have 02 two models(sequence and academic) related with one to many relationship. I wish to display sequence list according academic . class Sequence extends Model { use HasFactory, SoftDeletes; protected $fillable = [ 'academic_id', 'name', 'description' ]; protected $casts = [ 'created_at' => 'datetime:Y-m-d', ]; public function academic() { return $this->belongsTo(Academic::class); }
} How to implement that ???
1 Reply
Patrick Boivin
Patrick Boivin7mo ago
You can read this part of the documentation: https://filamentphp.com/docs/3.x/panels/resources/relation-managers
Want results from more Discord servers?
Add your server