Why is a comma (,) being added to the questionIndex when I am using it again for the following svelte component?
I have two components, Question.svelte and QuestionList.svelte. The Question component has a clear button which will clear the selection of its options, which are radio buttons. The QuestionList component has a clear button which will clear all the selections.
Why is a comma (,) being added to the questionIndex when I am using it again for the following svelte component?
I have two components, Question.svelte and QuestionList.svelte. The Question component has a clear button which will clear the selection of its options, which are radio buttons. The QuestionList component has a clear button which will clear all the selections.