CalculatedExpressions Usage
The calculatedExpressions object is a Record<linkId, CalculatedExpression>
.
It contains the expression string itself, a from
identifier to determine where the expression is coming from, and the result of the expression.
Live Editor
function App() { const calculatedExpressions = useQuestionnaireStore.use.calculatedExpressions(); return ( <> <YourBaseRendererWrapper questionnaire={qCalculatedExpressionBMICalculator} /> <JsonViewer hookName="calculatedExpressions" data={calculatedExpressions} /> </> ); }
Result
Loading...