Adds a callback that's invoked on state change.
A callback that's invoked on state change.
A function to remove the listener.
Sets the value of the specified field.
The field value to set.
OptionalupdatesToFetch: UpdateCaseFieldFetchOptions
A set of flags dictating whether to fetch case assist data after updating the field value.
OptionalautoSelection: boolean
A flag indicating whether the update was triggered by an automatic selection.
The
CaseFieldcontroller is responsible for setting the value and retrieving suggestions for a field from the case creation form and optionally trigger Case Assist API requests.For example implementations, see the following Coveo Quantic Case Assist components: