This commit is contained in:
2020-10-08 23:30:43 +00:00
parent e8294a6078
commit ae03b97c2e
2 changed files with 2 additions and 5 deletions

View File

@@ -330,13 +330,14 @@ export default {
obj: {
//IMPORTANT NOTE: Fields that are NON NULLABLE in the schema for the table but *are* hideable **MUST** have a default value set here or else there will be no way to save the record
//I.E. Serial, usertype fields
//Also, if it's a non-nullable Enum backed field then it should have a valid selection i.e. not zero if there is no zero
id: 0,
concurrency: 0,
name: null,
serial: 0,
dollarAmount: null,
active: null,
userType: 0,
userType: 2, //defaulted here to something valid
startDate: null,
endDate: null,
notes: null,