@eturnity/eturnity_reusable_components 1.2.51-3d-master.2 → 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,18 +459,15 @@ export default {
|
|
459
459
|
return evaluated
|
460
460
|
},
|
461
461
|
onInput(value) {
|
462
|
-
|
463
|
-
return
|
462
|
+
|
464
463
|
let evaluatedVal
|
465
464
|
try {
|
466
465
|
evaluatedVal = this.onEvaluateCode(value)
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
}else{
|
466
|
+
this.$emit('on-input', evaluatedVal)
|
467
|
+
}
|
468
|
+
catch (err) {
|
471
469
|
this.$emit('on-input', value)
|
472
470
|
}
|
473
|
-
}
|
474
471
|
},
|
475
472
|
onInputBlur(e) {
|
476
473
|
this.isFocused = false
|