From d295b16462fad3b7cd9392c5eeffa37e9d397d47 Mon Sep 17 00:00:00 2001 From: Max Chopart Date: Mon, 8 Apr 2024 13:22:06 +0200 Subject: [PATCH] [Fix #133] Fix tests dereferenceable answer value --- src/components/answer/TypeaheadAnswer.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/answer/TypeaheadAnswer.jsx b/src/components/answer/TypeaheadAnswer.jsx index f061af35..bc33f2e6 100644 --- a/src/components/answer/TypeaheadAnswer.jsx +++ b/src/components/answer/TypeaheadAnswer.jsx @@ -159,7 +159,8 @@ const TypeaheadAnswer = (props) => { valueKey={valueKey} labelKey={labelKey} valueRenderer={ - props.question[Constants.PROVIDES_DEREFERENCEABLE_ANSWER_VALUES] + props.question[Constants.PROVIDES_DEREFERENCEABLE_ANSWER_VALUES] === + false ? noLinksValueRenderer : null }