<template>
  <el-form-item label="onFileRemove" label-width="150px">
    <a href="javascript:void(0);" class="a-link link-oneLind" @click="editEventHandler('onFileRemove', eventParams)">
      <span>{{ optionModel.onFileRemove }}</span>
      <i class="el-icon-edit"></i>
    </a>
  </el-form-item>
</template>

<script>
import i18n from "../../../../../../components/xform/utils/i18n";
import eventMixin from "../../../../../../components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin";

export default {
  name: "onFileRemove-editor",
  mixins: [i18n, eventMixin],
  props: {
    designer: Object,
    selectedWidget: Object,
    optionModel: Object,
  },
  data() {
    return {
      eventParams: ["file", "fileList"],
    };
  },
};
</script>

<style scoped></style>
