Commit b21c9f10 authored by Kevin Robert's avatar Kevin Robert
Browse files

UNOTOPLYS-307 : Correction d'un problème de rafraichissement des autocompletes.

parent 027d805b
......@@ -24,11 +24,11 @@
</template>
<template v-if="condition.type === 'score'">
<label class="block mb-2 font-bold">Valeur attendue (*)</label>
<autocomplete :items="questions" :value="selectedQuestionLabel(condition.reference)" @selected="selectQuestion" />
<autocomplete id="selectedQuestionLabel" key="selectedQuestionLabel" :items="questions" :value="selectedQuestionLabel(condition.reference)" @selected="selectQuestion" />
</template>
<template v-if="condition.type === 'variable'">
<label class="block mb-2 font-bold">Valeur attendue (*)</label>
<autocomplete :items="variables" :value="selectedVariableLabel(condition.reference)" @selected="selectVariable" />
<autocomplete id="selectedVariableLabel" key="selectedVariableLabel" :items="variables" :value="selectedVariableLabel(condition.reference)" @selected="selectVariable" />
</template>
</div>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment