@eturnity/eturnity_reusable_components 1.2.51-3d-master.3 → 1.2.51-3d-master.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -459,19 +459,15 @@ export default {
|
|
459
459
|
return evaluated
|
460
460
|
},
|
461
461
|
onInput(value) {
|
462
|
-
|
463
|
-
this.$emit('on-input', value)
|
464
|
-
return
|
462
|
+
|
465
463
|
let evaluatedVal
|
466
464
|
try {
|
467
465
|
evaluatedVal = this.onEvaluateCode(value)
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
}else{
|
466
|
+
this.$emit('on-input', evaluatedVal)
|
467
|
+
}
|
468
|
+
catch (err) {
|
472
469
|
this.$emit('on-input', value)
|
473
470
|
}
|
474
|
-
}
|
475
471
|
},
|
476
472
|
onInputBlur(e) {
|
477
473
|
this.isFocused = false
|