@kizmann/nano-ui 0.7.29 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -97,9 +97,10 @@ export default {
|
|
97
97
|
|
98
98
|
onSubmit(event)
|
99
99
|
{
|
100
|
-
|
101
|
-
|
102
|
-
|
100
|
+
if ( this.prevent ) {
|
101
|
+
event.preventDefault();
|
102
|
+
event.stopPropagation();
|
103
|
+
}
|
103
104
|
|
104
105
|
if ( Dom.find(event.target).is('input') ) {
|
105
106
|
this.$emit('submit', event);
|
@@ -151,7 +152,7 @@ export default {
|
|
151
152
|
|
152
153
|
ready()
|
153
154
|
{
|
154
|
-
this.$watch('form', this.emitChange, { deep: true });
|
155
|
+
this.$watch('form', Any.debounce(this.emitChange, 300), { deep: true });
|
155
156
|
},
|
156
157
|
|
157
158
|
render()
|