Skip to content

Commit

Permalink
fix: Add keydown entry to text-field in search bar (#144) (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
gromdimon authored Oct 17, 2023
1 parent f349e39 commit 65dcbdc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/components/SearchBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const props = withDefaults(defineProps<Props>(), {
single-line
:model-value="props.searchTerm"
@input="$emit('update:searchTerm', $event.target.value)"
@keydown.enter="$emit('clickSearch', props.searchTerm, props.genomeRelease)"
label="Enter search term"
id="search-term"
></v-text-field>
Expand Down

0 comments on commit 65dcbdc

Please sign in to comment.