The CaseInput controller is responsible for setting and retrieving the value of a single field from the case creation form and optionally trigger Case Assist API requests.

For example implementations, see the following Coveo Quantic Case Assist components:

interface CaseInput {
    state: CaseInputState;
    subscribe(listener: () => void): Unsubscribe;
    update(value: string, updatesToFetch?: UpdateFetchOptions): void;
}

Hierarchy (View Summary)

Methods

Properties

Methods

Properties

A scoped and simplified part of the headless state that is relevant to the CaseInput controller.