API Reference

Complete reference for all components, props, types, and configuration options in mantine-select-async-paginate.

AsyncPaginateSelect

The main component for single-select async pagination. Supports both single and multi-select modes via the `multiple` prop.

import { AsyncPaginateSelect } from 'mantine-select-async-paginate';

<AsyncPaginateSelect
  loadOptions={loadOptions}
  value={value}
  onChange={setValue}
  // ... other props
/>

Props

PropTypeDefaultDescription
loadOptions
required
LoadOptionsFunction-Function to load options asynchronously
valuestring | null | string[]nullCurrent selected value(s)
onChangeFunction-Callback when value changes
multiplebooleanfalseEnable multi-select mode
defaultOptionsboolean | ComboboxItem[]falseLoad options on mount or provide default options
cacheOptionsbooleanfalseCache loaded options
debounceTimeoutnumber300Debounce timeout in milliseconds
minSearchLengthnumber0Minimum characters to trigger search
maxSelectedValuesnumber-Maximum selections allowed (multi-select only)
excludeSelectedbooleantrueHide selected options from dropdown (multi-select only)
loadingMessagestring"Loading..."Message shown while loading
noOptionsMessagestring"No options"Message shown when no options found
loadMoreTextstring"Load more..."Text for load more button
onLoadMore() => void-Callback when load more is triggered
renderOptionFunction-Custom option renderer
additionalany-Additional data passed to loadOptions

Common Patterns