@masterteam/properties 0.0.75 → 0.0.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3410,6 +3410,12 @@ class PropertyForm {
|
|
|
3410
3410
|
this.submitProperty(payload);
|
|
3411
3411
|
return;
|
|
3412
3412
|
}
|
|
3413
|
+
// Calculated properties are formula-driven, not something a user
|
|
3414
|
+
// hand-adds to a form — skip the prompt and never add them.
|
|
3415
|
+
if (isCalculated) {
|
|
3416
|
+
this.submitProperty({ ...payload, addToForm: false });
|
|
3417
|
+
return;
|
|
3418
|
+
}
|
|
3413
3419
|
// On create, ask (via a popup anchored to the Save button) whether the
|
|
3414
3420
|
// new property should also be added to the form. ConfirmPopup only fires
|
|
3415
3421
|
// `accept`/`reject` on the buttons; clicking outside or pressing Escape
|