Skip to main content

Function: getSelectedChoices()

function getSelectedChoices(state, ...params): IChoice[]

Get selected question's current autocomplete choices, indexed by question ID

Parameters​

state​

The first argument, often a Redux root state object.

params​

...[string]

All additional arguments passed into the selector.

Returns​

IChoice[]

A derived value from the state.

Param​

BpSdk Redux store

Param​

question id to use as key