autocomplete

Drupal. autocomplete

Source:
Autocomplete object implementation.

Members

(static) options

Source:
JQuery UI option object.

Methods

(static) extractLastTerm(terms) → {string}

Source:
Returns the last value of an multi-value textfield.
Parameters:
Name Type Description
terms string The value of the field.
Returns:
The last value of the input field.
Type
string

(static) splitValues(value) → {Array}

Source:
Helper splitting terms from the autocomplete value.
Parameters:
Name Type Description
value string The value being entered by the user.
Returns:
Array of values, split by comma.
Type
Array