Belongs To Many Select #714
Unanswered
GORGDEVELOPER
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, i need your help. I want create belongs to many select.
My model has connect by pivot with tags:
class Blog extends Model
{
protected $fillable = [
'name',
'slug',
'image_path',
'short_text',
'full_text',
'published_by'
];
}
My blog resources:
`class BlogResource extends Resource
{
public static $icon = 'heroicon-o-annotation';
}`
My blogs tags relation manager
`class BlogsTagsRelationManager extends RelationManager
{
public static $primaryColumn = 'name';
}
`
But i didn't understand by documentation how i can add my tags relation to my belong to select?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions