Modern Page: On-the-fly calculation in the formula field is not performed

Hello!

I created two Number type fields: Price and Quantity. I also created a Formula type field, which should perform a calculation and give the result of their multiplication.

The calculation is not performed on the Modern page (version 2) in the editing form. However, on the Classic page (version 1), the calculation is performed and the result is visible as data is entered into the specified fields.
modern-page-formula-issue-1

The issue can be reproduced on the page
https://a_8hwne7u84ho.v13.demo.nocobase.com/admin/gxpzwd86ai1/view/30a0353f123/filterbytk/346796233850880

I also found that after submitting the record (if, for example, the Price and Quantity fields are filled with values 100 and 100), the values are not displayed in the sub-detail fields, or are displayed with incorrect data…

Hi, alcompstudio

I’m not sure what the actual problem is, but when I tried changing the display mode to “display only,” it worked.

NocoBase v2.0.1



Thank you for your reply. I updated to version 2.0.1 and specified Display mode in the formula field, but online calculation still does not work for me… It also does not work in the test version of NocoBase (on the developer’s page, link above).

Perhaps the problem is in the subform, not the subtable…

Thank you for reporting the issue. Please wait while we fix it.

2 Likes