Skip to content

Commit

Permalink
Fix m2m relationship not showing current col/pk
Browse files Browse the repository at this point in the history
  • Loading branch information
rijkvanzanten committed Jun 9, 2021
1 parent c2c57ef commit 61f66ea
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="grid">
<div class="field">
<div class="type-label">{{ t('this_collection') }}</div>
<v-input disabled :value="relations[0].related_collection" />
<v-input disabled :model-value="relations[0].related_collection" />
</div>
<div class="field">
<div class="type-label">{{ t('junction_collection') }}</div>
Expand Down Expand Up @@ -126,7 +126,7 @@
</template>
</v-input>
</div>
<v-input disabled :value="currentPrimaryKeyField" />
<v-input disabled :model-value="currentPrimaryKeyField" />
<v-input
:class="{ matches: junctionFieldExists(relations[0].field) }"
v-model="relations[0].field"
Expand Down

0 comments on commit 61f66ea

Please sign in to comment.