mirror of
https://github.com/getrebuild/rebuild.git
synced 2025-02-23 22:04:32 +08:00
Update trigger.FIELDWRITEBACK.js
This commit is contained in:
parent
27a05f7548
commit
deacd7b741
1 changed files with 1 additions and 1 deletions
|
@ -358,7 +358,7 @@ FieldFormula.formatText = function (formula, fields) {
|
|||
if (formula.includes('#')) {
|
||||
const fs = formula.split('#')
|
||||
const field = fields.find((x) => x.name === fs[0])
|
||||
return `{${field.label}}` + (fs[1] || '')
|
||||
return `{${field ? field.label : `[${fs[0].toUpperCase()}]`}}` + (fs[1] || '')
|
||||
}
|
||||
// NUM
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue