diff --git a/src/components/poll/poll_form/poll_form.vue b/src/components/poll/poll_form/poll_form.vue index 4f8b0070..f6f9fe4b 100644 --- a/src/components/poll/poll_form/poll_form.vue +++ b/src/components/poll/poll_form/poll_form.vue @@ -7,24 +7,24 @@ class="poll-option-input" type="text" :placeholder="$t('polls.option')" - @input="onUpdateOption($event, index)" - :value="option" :maxlength="maxLength" + v-model="options[index]" + @change="updatePollToParent" > -
- +
+
- +