@kizmann/nano-ui 0.8.6 → 0.8.8

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kizmann/nano-ui",
3
- "version": "0.8.6",
3
+ "version": "0.8.8",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "author": "Eduard Kizmann <kizmann@protonmail.ch>",
@@ -93,6 +93,13 @@ export default {
93
93
  if ( this.modelValue !== this.tempValue ) {
94
94
  this.tempValue = this.modelValue;
95
95
  }
96
+ },
97
+
98
+ tempValue()
99
+ {
100
+ if ( Any.isEmpty(this.tempValue) ) {
101
+ this.$refs.input.value = null;
102
+ }
96
103
  }
97
104
 
98
105
  },
@@ -125,6 +125,8 @@ export default {
125
125
 
126
126
  onKeydown(event)
127
127
  {
128
+ this.$emit('keydown', event);
129
+
128
130
  if ( event.which !== 13 ) {
129
131
  return;
130
132
  }