first of all, thanks for this awesome package
i can't get selected values tags in edit article
my form() method like
$form->multipleSelect('tags', 'Tags')->options(Tag::all()->pluck('name', 'id'));
and in Article Model, the relation method like
public function tags(){
return $this->belongsToMany('App\Tag')->select('id','name')->withTimestamps();
}
when i press edit button for any article, some fields working fine like 'title', 'description' but input tags field doesn't show selected tags for this article, just show all tags which come from Tag::all(), the input tags selected empty
how i can solve this proplem?
some screenshots



I had problems similar problems. I moved to explicit declaration and it works. Like so:
$form
->multipleSelect('tags', 'Tags')
->ajax('/api/list/tags')
->options(function() { return $this->tags->pluck('name', 'id'); });
I have this exact same problem.
Fix in #2479
I have this exact same problem.
Laravel Version: 5.7
PHP Version: 7.2
Most helpful comment
I had problems similar problems. I moved to explicit declaration and it works. Like so: