Multiple Relationships
Hi guys, is this relationship possible? I'm in my ProjectTask model, and want add sub tasks which are a few relationships down (via tasks)
Forms\Components\Repeater::make('tasks.subtasks')
->relationship('task.subtasks')
->schema([
Forms\Components\TextInput::make('name')->required(),
Forms\Components\Checkbox::make('is_done')->label('Completed'),
Forms\Components\Repeater::make('tasks.subtasks')
->relationship('task.subtasks')
->schema([
Forms\Components\TextInput::make('name')->required(),
Forms\Components\Checkbox::make('is_done')->label('Completed'),