From da80e91074b23f43cb35a8e525eec72cd506a788 Mon Sep 17 00:00:00 2001 From: Shishant Biswas Date: Thu, 24 Sep 2026 14:22:23 +0530 Subject: [PATCH] fix(ui-form): skip non-fillable fields in form data because they fail validation in backend --- app/src/data/helper.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/data/helper.ts b/app/src/data/helper.ts index 12c531bb..cefb876d 100644 --- a/app/src/data/helper.ts +++ b/app/src/data/helper.ts @@ -24,7 +24,8 @@ export function getChangeSet( (acc, _value, key) => { const field = fields.find((f) => f.name === key); // @todo: filtering virtual here, need to check (because of media) - if (!field || field.isVirtual()) return; + // @note: adding non-fillable here as it'll fail validaiton on backend + if (!field || field.isVirtual() || !field.isFillable()) return; const value = _value === "" ? null : _value; // normalize to null if undefined