<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>
