@afeefa/vue-app 0.0.191 → 0.0.193
Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.193
|
package/package.json
CHANGED
@@ -22,6 +22,10 @@ export default class FormFieldSelect extends Mixins(FormFieldMixin) {
|
|
22
22
|
items = null
|
23
23
|
|
24
24
|
created () {
|
25
|
+
this.reloadOptions()
|
26
|
+
}
|
27
|
+
|
28
|
+
reloadOptions () {
|
25
29
|
if (this.fieldHasOptionsRequest()) {
|
26
30
|
this.items = this.getSelectOptions()
|
27
31
|
} else if (this.fieldHasOptions()) {
|
@@ -33,7 +33,7 @@
|
|
33
33
|
:title="label"
|
34
34
|
:icon="icon"
|
35
35
|
@save="save"
|
36
|
-
@close="
|
36
|
+
@close="close"
|
37
37
|
>
|
38
38
|
<template #form="{modelToEdit}">
|
39
39
|
<slot
|
@@ -93,6 +93,15 @@ export default class EditableDetailProperty extends Vue {
|
|
93
93
|
save (model, ignoreChangesOnClose, closeModal) {
|
94
94
|
this.$emit('save', {model, ignoreChangesOnClose, closeModal})
|
95
95
|
}
|
96
|
+
|
97
|
+
openModal () {
|
98
|
+
this.showForm = true
|
99
|
+
}
|
100
|
+
|
101
|
+
close () {
|
102
|
+
this.showForm = false
|
103
|
+
this.$emit('close')
|
104
|
+
}
|
96
105
|
}
|
97
106
|
</script>
|
98
107
|
|