Represents an input field for selecting multiple items from a list.

  • Parameters

    • OtherItemsSlot: IItemsSlot

      The configuration object for the OtherItemsSlot component.

      Represents an interface for an ItemsSlot in a field. Extends the IItemsFieldProps and IItemsFieldPrivate interfaces.

      IItemsSlot

      • Optionaldescription?: string

        Returns the "description" property of the given object if it exists, otherwise returns undefined.

        The type of the object to pick the property from.

        The key of the property to pick.

        The object to pick the property from.

        The key of the property to pick.

        • The value of the "description" property if it exists, otherwise undefined.
      • dirty: boolean
      • Optionaldisabled?: boolean

        Represents the "disabled" property of a field.

      • fieldReadonly: boolean
      • OptionalfreeSolo?: boolean

        Represents the freeSolo property of a field object.

        This property determines if the field supports selecting values that are not contained in the predefined options list.

      • OptionalgroupRef?: (element?: null | HTMLDivElement) => void

        Retrieves the value of the 'groupRef' property from the given object 'fieldData'.

      • incorrect: null | string
      • invalid: null | string
      • OptionalitemList?:
            | string[]
            | (data: any, payload: any) => string[]
            | (data: any, payload: any) => Promise<string[]>

        Represents the itemList property of a field in the Data object.

      • OptionallabelShrink?: boolean

        Represents the optional "labelShrink" property of an object that implements the IField<Data> interface. The "labelShrink" property is of type PickProp<IField<Data>, "labelShrink">, which picks the "labelShrink" property from the IField<Data> interface.

      • loading: boolean
      • OptionalnoDeselect?: boolean

        Represents a configuration option for disabling deselect functionality.

        The type of data associated with the field.

        The type of payload associated with the field.

      • onChange: (v: any, config?: { skipReadonly?: boolean }) => void
      • Optionaloutlined?: boolean

        Picks the specified property "outlined" from the given object type "IField<Data, Payload>".

        The type of data for the field.

        The type of payload for the field.

        The resulting type after picking the property.

        The object from which to pick the property.

        • The value of the "outlined" property.
      • Optionalplaceholder?: string

        Type definition for the placeholder property.

        The type of the field.

        The type of the key to pick from the field.

        The field object.

        The key representing the property to pick from the field.

        The picked placeholder property from the field.

      • Optionalreadonly?: boolean

        Represents an optional readonly flag of a field.

      • Optionaltitle?: string

        Type definition for the "title" property of an object.

        Suppose we have an object of type "IField<Data, Payload>". This type represents a field in a form, where "Data" is the type of the form data and "Payload" is the type of data that should be submitted when the form is submitted.

        The "PickProp" utility type is used to extract the "title" property from the "IField<Data, Payload>" type. This variable represents the extracted type.

        The type of the form data.

        The type of the data to be submitted.

      • Optionaltr?:
            | (s: string, data: any, payload: any) => string
            | (s: string, data: any, payload: any) => Promise<string>

        Represents the "tr" property of a field in the given data and payload.

        The type of data.

        The type of payload.

        The type of field.

        The type for picking properties.

      • Optionalvalidation?: IValidation

        Validation factory config

        Type representing the field object.

        Type representing the data object.

        Type representing the payload object.

        The value of the "validation" property.

      • value: any
      • OptionalvirtualListBox?: boolean

        Represents the configuration for a virtual list box field in a form.

      • OptionalwatchItemList?: boolean

        Represents a variable watchItemList.

      • withContextMenu: undefined | true

    Returns Element

    • The OtherItemsSlot component.