diff --git a/package.json b/package.json index bac110c4..9eaf128a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@soramitsu/soramitsu-js-ui", - "version": "0.6.7", + "version": "0.6.8", "private": false, "publishConfig": { "registry": "https://nexus.iroha.tech/repository/npm-soramitsu-private/" diff --git a/src/components/Input/SInput.vue b/src/components/Input/SInput.vue index 730dde91..2ecac0be 100644 --- a/src/components/Input/SInput.vue +++ b/src/components/Input/SInput.vue @@ -27,6 +27,7 @@ :suffix-icon="suffix" @input="handleInput" @change="handleChange" + @paste="handlePaste" @blur="handleBlur" @focus="handleFocus" /> @@ -222,6 +223,10 @@ export default class SInput extends Mixins(BorderRadiusMixin) { this.$emit('change', value) } + handlePaste (value: string | number): void { + this.$emit('paste', value) + } + handleBlur (event: Event): void { this.focused = false this.$emit('blur', event)