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.
Optional
updatesToFetch: UpdateCaseFieldFetchOptionsA set of flags dictating whether to fetch case assist data after updating the field value.
Optional
autoSelection: booleanA flag indicating whether the update was triggered by an automatic selection.
The
CaseField
controller 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: