|
|
@ -524,8 +524,14 @@ onUnmounted(() => {
|
|
|
|
<NAutoComplete v-model:value="prompt" :options="searchOptions" :render-label="renderOption">
|
|
|
|
<NAutoComplete v-model:value="prompt" :options="searchOptions" :render-label="renderOption">
|
|
|
|
<template #default="{ handleInput, handleBlur, handleFocus }">
|
|
|
|
<template #default="{ handleInput, handleBlur, handleFocus }">
|
|
|
|
<NInput
|
|
|
|
<NInput
|
|
|
|
v-model:value="prompt" type="textarea" :placeholder="placeholder"
|
|
|
|
v-model:value="prompt"
|
|
|
|
:autosize="{ minRows: 1, maxRows: 2 }" @input="handleInput" @focus="handleFocus" @blur="handleBlur" @keypress="handleEnter"
|
|
|
|
type="textarea"
|
|
|
|
|
|
|
|
:placeholder="placeholder"
|
|
|
|
|
|
|
|
:autosize="{ minRows: 1, maxRows: 2 }"
|
|
|
|
|
|
|
|
@input="handleInput"
|
|
|
|
|
|
|
|
@focus="handleFocus"
|
|
|
|
|
|
|
|
@blur="handleBlur"
|
|
|
|
|
|
|
|
@keypress="handleEnter"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</NAutoComplete>
|
|
|
|
</NAutoComplete>
|
|
|
|