This commit is contained in:
@@ -979,11 +979,11 @@ export default {
|
||||
// Used by forms that need the option of an unselected
|
||||
// item in a pick list
|
||||
//
|
||||
addNoSelectionItem(listArray) {
|
||||
addNoSelectionItem(listArray, nullNotZero) {
|
||||
if (listArray == undefined || listArray == null) {
|
||||
listArray = [];
|
||||
}
|
||||
listArray.unshift({ name: "-", id: 0 });
|
||||
listArray.unshift({ name: "-", id: nullNotZero ? null : 0 });
|
||||
},
|
||||
////////////////////////////////////
|
||||
// Get validity of referenced control
|
||||
|
||||
Reference in New Issue
Block a user