We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e90761 commit 5ff2732Copy full SHA for 5ff2732
resources/js/components/inputs/relationship/RelationshipInput.vue
@@ -203,7 +203,9 @@ export default {
203
this.$emit('item-data-updated', data);
204
},
205
206
- value(value) {
+ value(value, oldValue) {
207
+ if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
208
+
209
// If all the values already have their data stored, then don't bother fetching it again.
210
if (value.every(id => this.data.map(item => item.id).includes(id))) return;
211
0 commit comments