This commit is contained in:
@@ -39,5 +39,20 @@ export default {
|
||||
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"
|
||||
label="Option"
|
||||
data-vv-name="checkbox"
|
||||
type="checkbox"
|
||||
required
|
||||
></v-checkbox>
|
||||
<v-btn @click="submit">submit</v-btn>
|
||||
@@ -43,7 +42,7 @@
|
||||
|
||||
<script>
|
||||
/* eslint-disable */
|
||||
|
||||
// type="checkbox"
|
||||
//import store from "../store";
|
||||
import lt from "../api/locale";
|
||||
//import _ from "../utils/libs/lodash.js";
|
||||
@@ -86,7 +85,7 @@ export default {
|
||||
"WidgetCustom14",
|
||||
"WidgetCustom15",
|
||||
"WidgetCustom16"
|
||||
];
|
||||
].concat(lt.commonKeysEditForm);
|
||||
lt.fetch(ltKeysRequired).then(() => {
|
||||
next();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user