@kizmann/nano-ui 0.7.29 → 0.8.1
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
@@ -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()
|