This commit is contained in:
2021-04-02 15:09:49 +00:00
parent d4e0bcd06e
commit b49eda77fd

View File

@@ -0,0 +1,45 @@
<template>
<div>
barebones template
</div>
</template>
<script>
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
/* XXXeslint-disable */
////////////////////////////////////////////////////////////////////////////////////////////////////////////
export default {
data() {
return {};
},
props: {
value: {
default: "{}",
type: String
},
formKey: { type: String, default: "" }, //used to grab template from store
readonly: Boolean,
disabled: Boolean,
parentVM: {
default: null,
type: Object
}
},
methods: {
form() {
return window.$gz.form;
},
fieldValueChanged(ref) {
if (
!this.parentVM.formState.loading &&
!this.parentVM.formState.readonly
) {
window.$gz.form.fieldValueChanged(this.parentVM, ref);
}
}
},
computed: {}
};
</script>