People Picker Properties

Hierarchy

  • IPeoplePickerProps

Properties

allowGroups?: boolean

True, to include groups in the results.

assignTo?: ((obj) => void)

Type declaration

    • (obj): void
    • Assigns the object to the input parameter.

      Parameters

      Returns void

className?: string

The class name to apply to the element.

disabled?: boolean

True to disable the component.

el?: HTMLElement

The element to render the form to.

groupId?: number

The specific SharePoint group id to search within.

label?: string

The label.

maxResults?: number

Limits the results to a maximum number.

minCharSearch?: number

The minimum number of characters to enter before search occurs.

multi?: boolean

True to allow multiple users to be selected.

onChange?: ((obj) => void)

Type declaration

    • (obj): void
    • The change event.

      Parameters

      • obj: IPeoplePickerUser[]

      Returns void

placeholder?: string

The placeholder text. (Default value is "Search")

readOnly?: boolean

True to make the component read-only.

searchLocal?: boolean

True to search the local users first.

value?: string | number | IPeoplePickerUser | (string | number | IPeoplePickerUser)[]

The selected users.

Generated using TypeDoc