Placeholder of search field moved to localization file
This commit is contained in:
parent
07eea0f484
commit
405f698749
@ -57,6 +57,7 @@ toolCard:
|
|||||||
new: New
|
new: New
|
||||||
search:
|
search:
|
||||||
label: Search
|
label: Search
|
||||||
|
placeholder: Type to search a tool or a command...
|
||||||
tools:
|
tools:
|
||||||
categories:
|
categories:
|
||||||
favorite-tools: 'Your favorite tools'
|
favorite-tools: 'Your favorite tools'
|
||||||
|
|||||||
@ -125,7 +125,7 @@ function activateOption(option: PaletteOption) {
|
|||||||
</c-button>
|
</c-button>
|
||||||
|
|
||||||
<c-modal v-model:open="isModalOpen" class="palette-modal" shadow-xl important:max-w-650px important:pa-12px @keydown="handleKeydown">
|
<c-modal v-model:open="isModalOpen" class="palette-modal" shadow-xl important:max-w-650px important:pa-12px @keydown="handleKeydown">
|
||||||
<c-input-text ref="inputRef" v-model:value="searchPrompt" raw-text placeholder="Type to search a tool or a command..." autofocus clearable />
|
<c-input-text ref="inputRef" v-model:value="searchPrompt" raw-text :placeholder="$t('search.placeholder')" autofocus clearable />
|
||||||
|
|
||||||
<div v-for="(options, category) in filteredSearchResult" :key="category">
|
<div v-for="(options, category) in filteredSearchResult" :key="category">
|
||||||
<div ml-3 mt-3 text-sm font-bold text-primary op-60>
|
<div ml-3 mt-3 text-sm font-bold text-primary op-60>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user