fix: add a task relation with enter when only one search result is available
Resolves #2107
This commit is contained in:
parent
6973d76e17
commit
e8705c66dd
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@
|
||||||
:creatable="true"
|
:creatable="true"
|
||||||
:create-placeholder="$t('task.relation.createPlaceholder')"
|
:create-placeholder="$t('task.relation.createPlaceholder')"
|
||||||
@create="createAndRelateTask"
|
@create="createAndRelateTask"
|
||||||
|
@select="addTaskRelation"
|
||||||
>
|
>
|
||||||
<template #searchResult="props">
|
<template #searchResult="props">
|
||||||
<span v-if="typeof props.option !== 'string'" class="search-result">
|
<span v-if="typeof props.option !== 'string'" class="search-result">
|
||||||
|
|
Loading…
Reference in a new issue