<template>
  <div>
    <el-form-item :label="i18nt('designer.setting.multiple')">
      <el-switch v-model="optionModel.multiple" @change="onMultipleSelected"></el-switch>
    </el-form-item>
    <el-form-item :label="i18nt('平铺选项')">
      <el-switch v-model="optionModel.flatCollapseTags"></el-switch>
    </el-form-item>
  </div>
</template>

<script>
import i18n from "../../../../../components/xform/utils/i18n"
import propertyMixin from "../../../../../components/xform/form-designer/setting-panel/property-editor/propertyMixin"

export default {
  name: "multiple-editor",
  mixins: [i18n, propertyMixin],
  props: {
    designer: Object,
    selectedWidget: Object,
    optionModel: Object,
  },
}
</script>

<style scoped>

</style>
