refactor: autofocus can be disabled in smart input hopp ui component (#3273)

Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
This commit is contained in:
Joel Jacob Stephen
2023-08-22 20:10:41 +05:30
committed by GitHub
parent 3c3fb1e4a9
commit ac60843183
6 changed files with 34 additions and 20 deletions

View File

@@ -19,11 +19,12 @@
>
<WorkspaceCurrent :section="t('tab.collections')" />
<input
<HoppSmartInput
v-model="filterTexts"
:placeholder="t('action.search')"
class="py-2 pl-4 pr-2 bg-transparent !border-0"
input-styles="py-2 pl-4 pr-2 bg-transparent !border-0"
type="search"
:autofocus="false"
:disabled="collectionsType.type === 'team-collections'"
/>
</div>