feat(backend): De meest recente indiening wordt automatisch ingeladen.
This commit is contained in:
parent
1685c518b6
commit
63c3d6aaa0
18 changed files with 406 additions and 263 deletions
|
@ -18,9 +18,7 @@ export const multipleChoiceQuestionAdapter: GiftAdapter = {
|
|||
setAnswer(questionElement: Element, answer: string | number | object): void {
|
||||
questionElement.querySelectorAll('input[type=radio]').forEach(element => {
|
||||
const input = element as HTMLInputElement;
|
||||
console.log(`input: ${input.value}, answer: ${answer}`);
|
||||
input.checked = String(answer) === String(input.value);
|
||||
console.log(input.checked);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue