const [inputAnswers, setInputAnswers] = createStore<Array<string>>( ["answer1", "answer2", "answer3"] );
<AnswerForm answers={inputAnswers} onUpdateAnswer={setInputAnswers}/>
<For each={props.answers} fallback={""}> {(answer, index) => { return ( <input type="text" value={answer} onInput={(e) => props.onUpdateAnswer(index(), e.currentTarget.value) } /> )}}</For>