<template>
  <el-input-number :value="value" @change="inputHandler" @input="inputHandler" :min="min" :max="max"></el-input-number>
</template>

<script>
export default {
  props: [
    'value',
    'config',
    'min',
    'max'
  ],

  methods: {
    inputHandler(val) {
      this.$emit('input', val)
    }
  }
}
</script>

<style>

</style>
