From 772e9b474875daeac7497caaf7350d652a54b6eb Mon Sep 17 00:00:00 2001 From: Shishant Biswas Date: Sun, 11 Oct 2026 08:43:50 +0530 Subject: [PATCH] fix: added action to `field.isFillable` --- app/src/data/helper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/data/helper.ts b/app/src/data/helper.ts index 0acc652a..432c7e47 100644 --- a/app/src/data/helper.ts +++ b/app/src/data/helper.ts @@ -25,7 +25,7 @@ export function getChangeSet( const field = fields.find((f) => f.name === key); // @todo: filtering virtual here, need to check (because of media) // @note: adding non-fillable here as it'll fail validaiton on backend - if (!field || field.isVirtual() || !field.isFillable()) return; + if (!field || field.isVirtual() || !field.isFillable(action as "create" | "update")) return; const value = _value === "" ? null : _value; // normalize to null if undefined