This commit is contained in:
2022-01-26 18:31:29 +00:00
parent ac9e2e28e7
commit 0d2a8b445f
4 changed files with 14 additions and 93 deletions

View File

@@ -20,8 +20,9 @@ export default {
// NOTE: FORM KEY **MUST** BE THE AYATYPE NAME WHERE POSSIBLE, IF NO TYPE THEN AN EXCEPTION NEEDS TO BE CODED IN
//SERVER FormFieldReference.cs -> public static List<string> FormFieldKeys
//
async get(formKey, vm) {
async get(formKey, vm, forceRefresh) {
if (
forceRefresh ||
!window.$gz.util.has(window.$gz.store.state.formCustomTemplate, formKey)
) {
//fetch and populate the store