struggle with select field =_=
i create a Select then for its option
i have a model which has this relation:
what should i do?
i have a model which has this relation:
and in Filter::class i have another relation:public function filter(): BelongsTo { return $this->belongsTo(Filter::class, 'filters_id'); }
and i want that the options will be FilterDetail::class rowspublic function subfilters(): HasMany { return $this->hasMany(FilterDetail::class); }
what should i do?