Added hide when total/value zero to attributes

This commit is contained in:
Stefan Zermatten
2022-11-03 20:39:02 +02:00
parent 8f56a60fb1
commit d63ad9ea8f
4 changed files with 84 additions and 20 deletions

View File

@@ -107,6 +107,14 @@ let AttributeSchema = createPropertySchema({
type: Boolean,
optional: true,
},
hideWhenTotalZero: {
type: Boolean,
optional: true,
},
hideWhenValueZero: {
type: Boolean,
optional: true,
},
// Automatically zero the adjustment on these conditions
reset: {
type: String,