@live-change/vue3-components 0.1.13 → 0.1.14
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/form/CommandForm.vue +2 -2
- package/form/DefinedForm.vue +1 -2
- package/package.json +1 -1
package/form/CommandForm.vue
CHANGED
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
this.$refs.defined.scrollToError()
|
|
195
195
|
},
|
|
196
196
|
async submit(additionalParameters) {
|
|
197
|
-
if(!(this.state == 'ready' || this.state == 'error')) return
|
|
197
|
+
if(!(this.state == 'ready' || this.state == 'error')) return
|
|
198
198
|
this.state = 'working'
|
|
199
199
|
this.workingTask = this.workingZone.started({ name: `service ${this.service} action ${this.action}` })
|
|
200
200
|
|
|
@@ -290,7 +290,7 @@
|
|
|
290
290
|
})
|
|
291
291
|
},
|
|
292
292
|
handleSubmitEvent(ev) {
|
|
293
|
-
console.log("HANDLE SUBMIT EVENT!", ev)
|
|
293
|
+
//console.log("HANDLE SUBMIT EVENT!", ev)
|
|
294
294
|
ev.preventDefault()
|
|
295
295
|
this.submit()
|
|
296
296
|
},
|
package/form/DefinedForm.vue
CHANGED
|
@@ -379,7 +379,7 @@
|
|
|
379
379
|
},
|
|
380
380
|
parameters: {
|
|
381
381
|
type: Object,
|
|
382
|
-
default
|
|
382
|
+
default() { return {} }
|
|
383
383
|
},
|
|
384
384
|
class: {
|
|
385
385
|
type: String
|
|
@@ -521,7 +521,6 @@
|
|
|
521
521
|
window.scrollTo(0, position.y - 100) /// TODO: remove fixed nav-bar and do it properly.
|
|
522
522
|
},
|
|
523
523
|
handleSubmitEvent(ev) {
|
|
524
|
-
console.log("HANDLE SUBMIT!", ev)
|
|
525
524
|
ev.preventDefault()
|
|
526
525
|
this.$emit('submit', ev)
|
|
527
526
|
}
|