Skip to content
This repository has been archived by the owner on Jun 11, 2021. It is now read-only.

Commit

Permalink
feat(docsearch): add enterkeyhint to go
Browse files Browse the repository at this point in the history
  • Loading branch information
francoischalifour committed Aug 21, 2020
1 parent 928b9ca commit 1a0cbbf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/SearchBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export function SearchBox(props: SearchBoxProps) {
inputElement: props.inputRef.current!,
autoFocus: props.autoFocus,
maxLength: MAX_QUERY_SIZE,
enterkeyhint: 'go',
})}
/>

Expand Down

0 comments on commit 1a0cbbf

Please sign in to comment.