Skip to content
+

Autocomplete

API docs for the Toolpad Studio Autocomplete component.

A text input with autocomplete suggestions. Uses the Material UI Autocomplete under the hood

Properties

Name Type Default Description
options array [] The options available to search from.
value string "" The value of the autocomplete.
defaultValue string "" A default value.
label string "Search…" The label to display for the autocomplete.
fullWidth boolean If true, the autocomplete will take up the full width of its container.
size string "small" The size of the autocomplete. One of small, medium, or large.
loading boolean If true, the autocomplete will display a loading indicator.
disabled boolean If true, the autocomplete will be disabled.
name string Name of this input. Used as a reference in form data.
isRequired boolean false Whether the input is required to have a value.
sx object The sx prop is used for defining custom styles that have access to the theme. All MUI System properties are available via the sx prop. In addition, the sx prop allows you to specify any other CSS rules you may need.