> ## Documentation Index
> Fetch the complete documentation index at: https://docs.attio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# <AttioUserCombobox />

> A combobox input for selecting Attio workspace users.

<img className="dark:hidden" width="720" height="440" noZoom src="https://mintcdn.com/attio/6iYi7YnGZIZchWq2/images/attio-user-combobox.png?fit=max&auto=format&n=6iYi7YnGZIZchWq2&q=85&s=7bf14ba931702c621c0c9cfc2e31180b" data-path="images/attio-user-combobox.png" />

<img className="hidden dark:block" width="720" height="440" noZoom src="https://mintcdn.com/attio/6iYi7YnGZIZchWq2/images/attio-user-combobox-dark.png?fit=max&auto=format&n=6iYi7YnGZIZchWq2&q=85&s=125777bcab229bda454df3c1a6363ce3" data-path="images/attio-user-combobox-dark.png" />

<Note>This component is returned by [`useForm()`](../../forms/use-form).</Note>

## Example

```tsx task-form.tsx theme={"system"}
import React from "react"
import {Forms, useForm, showToast} from "attio/client"

export function TaskForm() {
  const {Form, SubmitButton, TextInput, AttioUserCombobox} = useForm(
    {
      title: Forms.string(),
      description: Forms.string().multiline(),
      assignToId: Forms.string(),
    },
    {},
  )
  return (
    <Form
      onSubmit={async (values) => {
        await showToast({
          title: "Form submitted",
          variant: "success",
          text: `Task "${values.title}" was assigned to workspace member ID ${values.assignToId}`,
        })
      }}
    >
      <TextInput label="Title" name="title" />
      <TextInput label="Description" name="description" />
      <AttioUserCombobox label="Assign to" name="assignToId" />
      <SubmitButton label="Submit" />
    </Form>
  )
}
```

## Props

<ParamField path="label" type="string" required>
  The label of the Attio workspace user combobox input field.
</ParamField>

<ParamField path="name" type="string" required>
  The path to the `string` value of the input field in your [form schema](../../forms/form-schema).
  e.g. `"user"`, `"task.assigned_to_id"`
</ParamField>

<ParamField path="disabled" type="boolean">
  Whether or not the field should be disabled.

  Defaults to `false` (not disabled).
</ParamField>
