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