typeahead

typeahead

Type-ahead

formtools.typeahead:

Attributes

NameRequiredDefaultOptionsDescription
ftWatchNoThe properties in this list are submitted to ajax requests along with the current value. This is in contrast with the normal behaviour of ftWatch, which is to reload the entire field on a change in a watched field.
ftPlaceholderNoType to search
ftJoinYesThe related content type that this property joins to. Currently TYPEAHEAD only supports one content type, not a list as array and uuid do.
ftInlineDataNofalseSet to true to put all available options inline. This is only really appropriate for relatively small, static data sets.
ftAllowCreateNotrueSet to false to disable the option to create a new object to attach
ftValidStatusNoallSpecify the status filter on the returned objects. As well as an explicit list of statuses, this can also be 'all' or 'mode' (to use the current user's settings)