Object Typeahead
Object Typeaheads provide a field that predicts a user's text entry as they type by querying all objects of a defined type in the system, providing suggestions for likely entries in real time.
- Usage
- Configuration
- Examples
The Object Typehead anticipates objects a user is searching for or is otherwise entering into a field. The Object Typeahead is used for situations where users need to select a single object out of dozens, hundreds, or even thousands of the same type of object (e.g. a film, actor, production company). It is especially useful when designing an experience that crosses applications (e.g. a typeahead field in Agile Process Teams that queries product data from the Master Data application).
Anatomy
-
Field label
-
Value
-
Drop-down menu icon
-
Drop-down with available objects
Best practices
- Combine the Object Typeahead with Facets to provide data filtering across multiple dimensions.
- Include clear, concise labels and, where necessary, assistive text.
- Add an Object Typeahead to a chart to allow users to perform keyword searches to filter chart data.
With Charts
The Object Typeahead can be used to filter chart data.
Properties
- checkbox – Optional. If selected, the label displays.
- field – Conditionally required if the checkbox is selected. The label for the typeahead field that displays on the screen.
- field – Required. The object type that the typeahead queries to retrieve the object.
- field – Optional. An additional condition that restricts the data returned in the typahead.
- field – Required. The attribute whose value displays in the typeahead list to identify each object.
- field – Optional. The user's permission to access the component. If a user is not assigned a role that includes this permission, they cannot view or interact with the component.
- Hide – The component is hidden.
- Disable – The component is visible but not cannot be interacted with.
drop-down – Optional. If the user does not have permission to access the component, specifies whether to hide or disable it:
Emitted Events
- – The user selects an object.
- – The user clears the selected object from the typeahead field.
Functions
- – When invoked in an event, the object is selected.
- – When invoked in an event, the selected object is cleared.
- – When invoked in an event, the filter condition is applied.
- – When invoked in an event, the selected object is retrieved.
With field label
- is selected.
- is included.