Skip to main content

Function: getMessagesForStepperStepQuestionSet()

function getMessagesForStepperStepQuestionSet(state, ...params): IMessage[]

Stepper steps are converted into question sets on the frontend. The question_set_id is taken from the parent anchor question of the original step (which is a question group). Any messages for this step will use the parent anchor's information as the message's component.

Parameters

state

The first argument, often a Redux root state object.

params

...[string]

All additional arguments passed into the selector.

Returns

IMessage[]

A derived value from the state.