Autocomplete can have different radius factors. The default radius is sm
but you can also use md
, lg
or full
.
نمایش کدمخفی کردن کد
Autocomplete can have different sizes. Use the size
prop to change the size of the autocomplete.
نمایش کدمخفی کردن کد
Autocomplete can have different contrasts. Use the contrast
prop to change the contrast of the autocomplete.
نمایش کدمخفی کردن کد
Autocomplete can have different contrasts. Use the contrast
prop to change the contrast of the autocomplete.
نمایش کدمخفی کردن کد
Autocomplete can have different contrasts. Use the contrast
prop to change the contrast of the autocomplete.
نمایش کدمخفی کردن کد
Autocomplete can have an error state using the error
prop. Use the error
prop to display an error message.
نمایش کدمخفی کردن کد
Autocomplete can have a configurable icon on the left side using the icon
prop. Make sure to pick meaningful icons for your use case.
نمایش کدمخفی کردن کد
Clearable autocomplete have a clear icon that appears on the right side using the clearable
prop. The clear icon is also configurable using the clearIcon
prop.
نمایش کدمخفی کردن کد
You can allow the user to create new items by setting the allow-create
prop to true
. When the user types a new value and presses Enter
, a new item is created.
نمایش کدمخفی کردن کد
Autocomplete can be configured to allow multiple values and item selection using the multiple
prop.
نمایش کدمخفی کردن کد
Autocomplete can be used as a country selector using the items
prop. The items
prop accepts an array of objects with a text
and value
property.
نمایش کدمخفی کردن کد
Autocomplete can be used as a country selector using the items
prop. The items
prop accepts an array of objects with a text
and value
property.
نمایش کدمخفی کردن کد
Autocomplete can have a material design style floating label using the labelFloat
prop.
نمایش کدمخفی کردن کد
Autocomplete can be showed in a loading state using the loading
prop.
نمایش کدمخفی کردن کد
Autocomplete can be disabled using the disabled
prop.
نمایش کدمخفی کردن کد
allow-create
نمایش مثالمخفی کردن مثال
chip-clear-icon
نمایش مثالمخفی کردن مثال
classes
نمایش مثالمخفی کردن مثال
clearable
نمایش مثالمخفی کردن مثال
clear-icon
نمایش مثالمخفی کردن مثال
clear-value
نمایش مثالمخفی کردن مثال
color-focus
نمایش مثالمخفی کردن مثال
disabled
نمایش مثالمخفی کردن مثال
display-value
نمایش مثالمخفی کردن مثال
dropdown
نمایش مثالمخفی کردن مثال
dropdown-icon
نمایش مثالمخفی کردن مثال
error
نمایش مثالمخفی کردن مثال
filter-debounce
نمایش مثالمخفی کردن مثال
filter-items
نمایش مثالمخفی کردن مثال
fixed
نمایش مثالمخفی کردن مثال
hide-create-prompt
نمایش مثالمخفی کردن مثال
icon
نمایش مثالمخفی کردن مثال
items
نمایش مثالمخفی کردن مثال
label
نمایش مثالمخفی کردن مثال
label-float
نمایش مثالمخفی کردن مثال
loading
نمایش مثالمخفی کردن مثال
multiple
نمایش مثالمخفی کردن مثال
placeholder
نمایش مثالمخفی کردن مثال
placement
نمایش مثالمخفی کردن مثال
properties
نمایش مثالمخفی کردن مثال
rounded
@since
2.0.0
نمایش مثالمخفی کردن مثال
contrast
نمایش مثالمخفی کردن مثال
i18n
نمایش مثالمخفی کردن مثال
size
نمایش مثالمخفی کردن مثال
#item
نمایش مثالمخفی کردن مثال
#label
نمایش مثالمخفی کردن مثال
#pending
نمایش مثالمخفی کردن مثال
#empty
نمایش مثالمخفی کردن مثال
#start-item
نمایش مثالمخفی کردن مثال
#end-item
نمایش مثالمخفی کردن مثال
#create-item
نمایش مثالمخفی کردن مثال
#autocomplete-multiple-list-item
نمایش مثالمخفی کردن مثال
#icon
نمایش مثالمخفی کردن مثال
#clear-icon
نمایش مثالمخفی کردن مثال
#dropdown-icon
نمایش مثالمخفی کردن مثال
Autocomplete can render results with icons using the <BaseAutocompleteItem> component. The component accepts an icon
prop that is displayed in the results list.
نمایش کدمخفی کردن کد
Autocomplete can render results with images using the <BaseAutocompleteItem> component. The component accepts a media
prop that is displayed in the results list.
نمایش کدمخفی کردن کد
active
نمایش مثالمخفی کردن مثال
item
نمایش مثالمخفی کردن مثال
mark
نمایش مثالمخفی کردن مثال
properties
نمایش مثالمخفی کردن مثال
selected
نمایش مثالمخفی کردن مثال
selected-icon
نمایش مثالمخفی کردن مثال
rounded
@since
2.0.0