Typeahead

Props

NamePropTypeRequiredDefault ValueAllowed ValuesDescription
addonnodefalsenull
alertshapefalsenull[{"message":"string"},{"type":"enum"}]
allowNewboolfalsefalse
autoFillOnBlurboolfalsetrue
autoFocusboolfalsefalse
chipSeparatorsarrayOffalse[]{name}
clearableboolfalsetrue
footernodefalsenull
idstringtrue
initialValuearrayOffalse[]{label, note, secondary}
inputAutoCompletestringfalsenew-password
maxHeightnumberfalsenull
minQueryLengthnumberfalse3
multipleboolfalsefalse
namestringtrue
onBlurfuncfalsenull
onChangefunctrue
onFocusfuncfalsenull
onInputChangefuncfalsenull
onSearchfuncfalsenull
optionsarrayOftrue{label, note, secondary}
placeholderstringfalsenull
searchDelaynumberfalse200
showNewEntryboolfalsetrue
showSuggestionsboolfalsetrue
sizeenumfalseSize.MEDIUM
  • md
  • lg
validateChipfuncfalse() => true
Edit these docs on Github