Skip to content

Commit

Permalink
feat: set module search field autofocus (#313)
Browse files Browse the repository at this point in the history
  • Loading branch information
shakiroye committed Jul 9, 2023
1 parent 9a94244 commit dd1a177
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/devtools-ui-kit/src/components/NTextInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const props = withDefaults(
icon?: string
placeholder?: string
disabled?: boolean
autofocus?: boolean
type?: string
}>(),
{
Expand Down
1 change: 1 addition & 0 deletions packages/devtools/client/components/ModuleInstallList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ const items = computed(() => {

<NTextInput
v-model="search"
:autofocus="true"
placeholder="Search..."
icon="carbon-search" n="primary"
mx6 px-5 py-2
Expand Down

0 comments on commit dd1a177

Please sign in to comment.