CaseInputActions
CaseInputActions
|
|
Note
This component was introduced in version |
The case inputs action creators.
See Dispatch Actions.
Loader Function
loadCaseInputActions
Loads the case inputs reducer and returns possible action creators.
Parameters
-
engine:
CaseAssistEngineThe headless engine.
Returns CaseInputActionCreators: The case inputs action creators.
CaseInputActionCreators
updateCaseInput
Adds or updates the state caseInputs with the specified field and value.
Parameters
-
payload:
SetCaseInputActionCreatorPayloadThe action creator payload.
Returns PayloadAction<SetCaseInputActionCreatorPayload>: A dispatchable action.
Related types
SetCaseInputActionCreatorPayload
Properties
-
fieldName:
stringThe name of the field whose value is being updated (for example, subject, description, product, category).
-
fieldValue:
stringThe value to set in the state.