fix: formula cannot contain matched curly braces in strings
Author: arucilCreated Jan 30, 2023Updated Mar 3, 2026
Labelsbug
Describe the bug
When a string in the expression of a formula field contains matched curly braces, i.e. { ... }, with arbitrary contents between the braces, an invalid column or funciton name error is reported.
To Reproduce
- Open the field setting panel of an existing formula field.
- Modify its expression to
'{ }'. - An
invalid column or function nameerror is reported.
Expected behavior
No error is reported for expressions like '{ }'.
Screenshots

Source: apitable/apitable