This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user