Skip to content

Commit

Permalink
[5.x] Fix typeahead relationship input corrupting data (#11059)
Browse files Browse the repository at this point in the history
  • Loading branch information
daun authored Nov 5, 2024
1 parent 2a63aef commit 44ea6dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Fieldtypes/Terms.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ public function process($data)
return explode('::', $id, 2)[1];
})
->unique()
->values()
->all();

if ($this->field->get('max_items') === 1) {
Expand Down

0 comments on commit 44ea6dc

Please sign in to comment.