<template>
  <div>
    <el-form-item label="占位文本">
      <el-input v-model="main.activeOption.placeholder"></el-input>
    </el-form-item>
    <el-form-item label="是否禁用">
      <el-switch v-model="main.activeOption.disabled"></el-switch>
    </el-form-item>
    <el-form-item label="是否可清空">
      <el-switch v-model="main.activeOption.clearable"></el-switch>
    </el-form-item>
    <el-form-item label="是否多选">
      <el-switch v-model="main.activeOption.multiple"></el-switch>
    </el-form-item>
    <el-form-item label="是否可搜索">
      <el-switch v-model="main.activeOption.filterable"></el-switch>
    </el-form-item>
    <el-form-item label="是否折叠标签">
      <el-switch v-model="main.activeOption.collapseTags"></el-switch>
    </el-form-item>
  </div>
</template>

<script>
export default {
  name: 'select',
  inject: ["main"]
}
</script> 