@eturnity/eturnity_reusable_components 7.45.4 → 7.45.5
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -44,6 +44,7 @@
|
|
44
44
|
:type="inputTypeData"
|
45
45
|
:value="value"
|
46
46
|
@blur="onInputBlur"
|
47
|
+
@focus="onInputFocus"
|
47
48
|
@input="onChangeHandler"
|
48
49
|
@keyup.enter="onEnterPress"
|
49
50
|
/>
|
@@ -367,6 +368,9 @@
|
|
367
368
|
this.validateInput($event.target.value)
|
368
369
|
this.$emit('input-blur', $event.target.value)
|
369
370
|
},
|
371
|
+
onInputFocus($event) {
|
372
|
+
this.$emit('input-focus', $event.target.value)
|
373
|
+
},
|
370
374
|
toggleShowPassword() {
|
371
375
|
this.inputTypeData =
|
372
376
|
this.inputTypeData === 'password' ? 'text' : 'password'
|