Contact Search Widget
Component Detail
User Interface
low complexity
Shared Component
mobile
1
Dependencies
1
Dependents
2
Entities
0
Integrations
Description
Reusable inline search widget that queries the contact store and returns a selected contact ID and display name. Used both in the Contacts area and embedded in the Note Editor Screen as the linked-contact selector. Renders a search field with debounced query, a results dropdown, and a selected-chip display.
contact-search-widget
Responsibilities
- Provide debounced search input against the local contact store
- Display search results as a scrollable list of contact chips
- Emit a selected contact event consumable by the parent widget
- Clear selection and reset field on demand
Interfaces
onContactSelected(contactId: string, displayName: string)
prefillContact(contactId: string)
clearSelection()
setEnabled(bool)
focusSearchField()
Relationships
Related Data Entities (2)
Data entities managed by this component