Skip to main content

unitAutocomplete

The type allows to configure the behavior of autocomplete fields which contain contacts, e.g. when adding a contact to a case or creating a contact.

Attributes:

  • appendWildcardAutomatically: Determines if the wildcard ("*") is appended automatically to every search term consisting of more than one character or number, so that a contact is found even if you have entered only part of its name. Default true.

  • maxHints: Defines the maximum number of suggestions which is displayed. The upper limit is the value set in the system property cmweb-server-adapter, unitIndexSearchResultSizeLimit, i.e. you cannot display more suggestions than allowed in the property, whose default value is 5. If you set the attribute to 0, value set in the property applies.

  • suffixCharactersToRemove: Defines the characters which are automatically removed from the end of the search term.

    Example: If you search for Holler, (search term ending with a comma), the contact Konrad Holler is only found if the comma is configured in this attribute.