<template>
  <el-form-item label="onInput" label-width="150px">
    <a href="javascript:void(0);" class="a-link link-oneLind" @click="editEventHandler('onInput', eventParams)">
      <span>{{ optionModel.onInput }}</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: "onInput-editor",
  mixins: [i18n, eventMixin],
  props: {
    designer: Object,
    selectedWidget: Object,
    optionModel: Object,
  },
  data() {
    return {
      eventParams: ["value"],
    };
  },
};
</script>

<style scoped></style>
