diff --git a/source/components/TargetSelection.js b/source/components/TargetSelection.js index 6aaef3b01..d834bc3fa 100644 --- a/source/components/TargetSelection.js +++ b/source/components/TargetSelection.js @@ -267,31 +267,32 @@ let TargetInputOrValue = withLanguage( language, firstStepCompleted, inversionFail - }) => ( - - {activeInput === target.dottedName || - !target.formule || - isEmpty(target.formule) ? ( - - ) : ( - - )} - - ) + }) => { + let inputIsActive = activeInput === target.dottedName + return ( + + {inputIsActive || !target.formule || isEmpty(target.formule) ? ( + + ) : ( + + )} + + ) + } ) const TargetValue = connect(