This commit is contained in:
2020-12-01 00:20:20 +00:00
parent 359706454b
commit 89038a1a70
4 changed files with 20 additions and 16 deletions

View File

@@ -986,6 +986,15 @@ export default {
listArray.unshift({ name: "-", id: nullNotZero ? null : 0 });
},
////////////////////////////////////
// Get no selection item
// Used by forms that need just the
// unselected item itself not added
// to a list
//
getNoSelectionItem(nullNotZero) {
return { name: "-", id: nullNotZero ? null : 0 };
},
////////////////////////////////////
// Get validity of referenced control
//
controlIsValid(vm, ref) {