Fix submitting answers

Events should be passed with "@" not ":" which makes it impossible to add answers to questions.

Signed-off-by: Ömer Fatih İlhan <ofilhan@muhasebat.gov.tr>
This commit is contained in:
Ömer Fatih İlhan 2019-11-20 12:08:17 +03:00 committed by Ömer Fatih İlhan
parent 069d1af847
commit f95b22c335

View file

@ -84,8 +84,8 @@
:key="question.id"
:question="question"
:type="question.type"
:add-answer="addAnswer"
:remove-answer="removeAnswer"
@add-answer="addAnswer"
@remove-answer="removeAnswer"
@remove="form.options.formQuizQuestions.splice(index, 1)"
/>
</transitionGroup>