This commit is contained in:
@@ -681,5 +681,15 @@ export default {
|
||||
if (formSettings.temp) {
|
||||
sessionStorage.setItem(formKey, JSON.stringify(formSettings.temp));
|
||||
}
|
||||
}, ////////////////////////////////////
|
||||
// Add no selection item
|
||||
// Used by forms that need the option of an unselected
|
||||
// item in a pick list
|
||||
//
|
||||
addNoSelectionItem(listArray) {
|
||||
if (listArray == undefined || listArray == null) {
|
||||
listArray = [];
|
||||
}
|
||||
listArray.unshift({ name: "-", id: 0 });
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user