Reduce search minLength to 1. Fixes #750 (#751)

This commit is contained in:
Dessalines 2022-08-16 06:22:48 -04:00 committed by GitHub
parent df31cb53cb
commit cc1308a7d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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>}