@eturnity/eturnity_reusable_components 1.2.51-3d-master.4 → 1.2.51-3d-master.5

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eturnity/eturnity_reusable_components",
3
- "version": "1.2.51-3d-master.4",
3
+ "version": "1.2.51-3d-master.5",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
@@ -459,15 +459,17 @@ export default {
459
459
  return evaluated
460
460
  },
461
461
  onInput(value) {
462
-
462
+ if(value==""){
463
+ this.$emit('on-input','')
464
+ }
463
465
  let evaluatedVal
464
466
  try {
465
467
  evaluatedVal = this.onEvaluateCode(value)
466
- this.$emit('on-input', evaluatedVal)
467
- }
468
- catch (err) {
469
- this.$emit('on-input', value)
468
+ } finally {
469
+ if (evaluatedVal) {
470
+ this.$emit('on-input', evaluatedVal)
470
471
  }
472
+ }
471
473
  },
472
474
  onInputBlur(e) {
473
475
  this.isFocused = false