fix(nc-gui): attachment: inline renaming reifnements 2

This commit is contained in:
amandesai01
2025-01-03 14:55:20 +00:00
parent 6c28bf6f6e
commit 3a549c2011

View File

@@ -213,11 +213,11 @@ const handleFileRename = async () => {
{{ item.title }}
</template>
</NcTooltip>
<input
<a-input
v-else
ref="inputBox"
v-model="newTitle"
class="border-none text-[12px] h-5 p-0"
v-model:value="newTitle"
class="!text-[12px] !h-5 !p-0 !bg-transparent !rounded-md"
type="text"
@keydown.enter="handleFileRename"
@keydown.escape.stop="handleResetFileRename"