mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Fix deselection of item in Collection Item Dropdown (#22294)
* Fix collection item deselect by setting it to null * Add changeset
This commit is contained in:
5
.changeset/twelve-sloths-beg.md
Normal file
5
.changeset/twelve-sloths-beg.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@directus/app': patch
|
||||
---
|
||||
|
||||
Fixed the deselection of a saved item in the Collection Item Dropdown
|
||||
@@ -118,7 +118,7 @@ function onSelection(selectedIds: (number | string)[] | null) {
|
||||
|
||||
<template #append>
|
||||
<template v-if="displayItem">
|
||||
<v-icon v-tooltip="t('deselect')" name="close" class="deselect" @click.stop="$emit('input', undefined)" />
|
||||
<v-icon v-tooltip="t('deselect')" name="close" class="deselect" @click.stop="value = null" />
|
||||
</template>
|
||||
<template v-else>
|
||||
<v-icon class="expand" name="expand_more" />
|
||||
|
||||
Reference in New Issue
Block a user