TagsInput belongsToMany
How can i set the TagsInput value on edit form, if values are a belongsToMany relationship
i try something like this, but it doesn't works
Thanks
Solution:Jump to solution
i found solution with
```
->mutateRecordDataUsing(function (array $data, $record): array {
$data['keywords'] = $record->keywords()->where('manual', true)->pluck('name')->toArray();...
3 Replies
Why not a select multiple with a createOptionForm?
@Leandro Ferreira Using select is worse for the UX. They have to press buttons. On the other hand, with tagsinput users write the tags and create their tags
only pressing enter
Solution
i found solution with
on EditAction.
Thanks!