This commit is contained in:
@@ -39,5 +39,20 @@ export default {
|
|||||||
reject(error);
|
reject(error);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
},
|
||||||
|
//Keys that all edit forms have in common (saves retyping them over and over)
|
||||||
|
commonKeysEditForm: [
|
||||||
|
//TODO: some of these are not going to be required / missed some I'm sure
|
||||||
|
"Active",
|
||||||
|
"Add",
|
||||||
|
"Cancel",
|
||||||
|
"Close",
|
||||||
|
"Save",
|
||||||
|
"Delete",
|
||||||
|
"OK",
|
||||||
|
"Print",
|
||||||
|
"WikiPage",
|
||||||
|
"Duplicate",
|
||||||
|
"RecordHistory"
|
||||||
|
]
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -33,7 +33,6 @@
|
|||||||
value="1"
|
value="1"
|
||||||
label="Option"
|
label="Option"
|
||||||
data-vv-name="checkbox"
|
data-vv-name="checkbox"
|
||||||
type="checkbox"
|
|
||||||
required
|
required
|
||||||
></v-checkbox>
|
></v-checkbox>
|
||||||
<v-btn @click="submit">submit</v-btn>
|
<v-btn @click="submit">submit</v-btn>
|
||||||
@@ -43,7 +42,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
// type="checkbox"
|
||||||
//import store from "../store";
|
//import store from "../store";
|
||||||
import lt from "../api/locale";
|
import lt from "../api/locale";
|
||||||
//import _ from "../utils/libs/lodash.js";
|
//import _ from "../utils/libs/lodash.js";
|
||||||
@@ -86,7 +85,7 @@ export default {
|
|||||||
"WidgetCustom14",
|
"WidgetCustom14",
|
||||||
"WidgetCustom15",
|
"WidgetCustom15",
|
||||||
"WidgetCustom16"
|
"WidgetCustom16"
|
||||||
];
|
].concat(lt.commonKeysEditForm);
|
||||||
lt.fetch(ltKeysRequired).then(() => {
|
lt.fetch(ltKeysRequired).then(() => {
|
||||||
next();
|
next();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user