NEW allow customisation of raw field class
NEW allow customisation of autofill input
NEW set your own record formatter

Used when you want to deviate from the standard toAutocompleteMap function.
NEW JS: work around typeahead value setting

The raw field key should take precedence over the display key when entering the data into the field
escaping user input so searches with regex chars work