]> Untitled Git - lemmy-ui.git/commitdiff
Reduce search minLength to 1. Fixes #750 (#751)
authorDessalines <dessalines@users.noreply.github.com>
Tue, 16 Aug 2022 10:22:48 +0000 (06:22 -0400)
committerGitHub <noreply@github.com>
Tue, 16 Aug 2022 10:22:48 +0000 (10:22 +0000)
src/shared/components/search.tsx

index c54b2d226513b97a0db85c8ed5ef8c691d0efa9a..431681ee4d5820f2dcf1491e23024846def63a20 100644 (file)
@@ -418,7 +418,7 @@ export class Search extends Component<any, SearchState> {
           aria-label={i18n.t("search")}
           onInput={linkEvent(this, this.handleQChange)}
           required
-          minLength={3}
+          minLength={1}
         />
         <button type="submit" class="btn btn-secondary mr-2 mb-2">
           {this.state.loading ? <Spinner /> : <span>{i18n.t("search")}</span>}