fix: Mise à jour de la donnée en lancant l'évènement change
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
2ea897e563
commit
41135bb2c7
|
@ -47,9 +47,11 @@ function validatePopup() {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
document.querySelector(
|
const answer = document.querySelector(
|
||||||
"input[id=" + `question_${props.question.id}_answer_${answerIndex.id}` + "]"
|
"input[id=" + `question_${props.question.id}_answer_${answerIndex.id}` + "]"
|
||||||
).checked = true;
|
)
|
||||||
|
answer.checked = true;
|
||||||
|
answer.dispatchEvent(new Event("change"));
|
||||||
showHidePopup();
|
showHidePopup();
|
||||||
}
|
}
|
||||||
const h = ref();
|
const h = ref();
|
||||||
|
|
Loading…
Reference in New Issue