[ui][typeahead] add optional minQueryLength parameter

This commit is contained in:
Yangshun Tay
2022-11-05 20:09:18 +08:00
parent 63b6a61ad3
commit 30c68afed6
3 changed files with 47 additions and 40 deletions

View File

@@ -41,6 +41,7 @@ export default function CitiesTypeahead({
return (
<Typeahead
label={label}
minQueryLength={3}
noResultsMessage="No cities found"
nullable={true}
options={

View File

@@ -39,6 +39,7 @@ export default function CountriesTypeahead({
return (
<Typeahead
label="Country"
minQueryLength={3}
noResultsMessage="No countries found"
nullable={true}
options={