<template>
  <Basic :question="question" :index="index" :pIndex="pIndex">
    <el-input type="text" :placeHolder="question.placeHolder" />
    <template v-slot:control>
      <el-button type="success" @click="startEdit('edit')" size="mini" class="event-bubbling">{{ $t('general.btnEdit') }}</el-button>
      <el-button type="info" @click="startEdit('choose')" size="mini" class="event-bubbling">{{ $t('general.btnChoose') }}</el-button>
    </template>
  </Basic>
</template>
<script>
import Question from './Question'
import Basic from './Basic'
export default {
  components: {
    Basic
  },
  props: ['question'],
  mixins: [Question]
}
</script>
