<template>
  <MultipleOptions :question="question"  >
    <el-form>
      <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>
      <el-form-item>
        <el-checkbox  v-model="question.hasSelectAll">{{ $t('editor.hasSelectAll') }}</el-checkbox>
      </el-form-item>
      <el-form-item :label="$t('editor.selectAllText')">
        <el-input maxlength="100" v-model="question.selectAllText"/>
      </el-form-item>
      <el-form-item>
        <el-checkbox v-model="question.hasNone">{{ $t('editor.hasNone') }}</el-checkbox>
      </el-form-item>
      <el-form-item :label="$t('editor.hasNoneText')">
        <el-input v-model="question.noneText"/>
      </el-form-item>
    </el-form>
  </MultipleOptions>
</template>

<script>
import MultipleOptions from './MultipleOptions'
export default {
  components: {
    MultipleOptions
  },
  props: ['question'],
  data () {
    return {
    }
  }
}
</script>
<style>
  .uplimit /deep/ .el-form-item__label{
    line-height: 35px;
  }
  .uplimit /deep/ .el-form-item__content .el-input-number{
    width: 100px;
  }
</style>
