<template>
  <MultipleOptions :question="question" >
    <el-form-item>
      <el-checkbox v-model="question.hasOther">{{ $t('editor.hasOther') }}</el-checkbox>
    </el-form-item>
    <el-form-item :label="$t('editor.otherText')">
      <el-input maxlength="30" v-model="question.otherText" />
    </el-form-item>
  </MultipleOptions>
</template>

<script>
import Editor from './Editor'
import MultipleOptions from './MultipleOptions'

export default {
  mixins: [Editor],
  components: {
    MultipleOptions
  }
}
</script>
