mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2026-07-17 12:01:51 +08:00
[ui][typeahead] add optional minQueryLength parameter
This commit is contained in:
@@ -41,6 +41,7 @@ export default function CitiesTypeahead({
|
||||
return (
|
||||
<Typeahead
|
||||
label={label}
|
||||
minQueryLength={3}
|
||||
noResultsMessage="No cities found"
|
||||
nullable={true}
|
||||
options={
|
||||
|
||||
@@ -39,6 +39,7 @@ export default function CountriesTypeahead({
|
||||
return (
|
||||
<Typeahead
|
||||
label="Country"
|
||||
minQueryLength={3}
|
||||
noResultsMessage="No countries found"
|
||||
nullable={true}
|
||||
options={
|
||||
|
||||
Reference in New Issue
Block a user