diff --git a/09 - Audits/Activity Log.md b/09 - Audits/Activity Log.md index f388c14..c839db9 100644 --- a/09 - Audits/Activity Log.md +++ b/09 - Audits/Activity Log.md @@ -1091,4 +1091,17 @@ defaults instead of receiving ''. --- +### 2026-06-03 — frontend v2.8.79 — request-template maxUsage truly optional + +The «حداکثر تعداد استفاده (اختیاری)» field threw a ZodError ("Invalid input") and +blocked the template form submit. It was wrapped in schemaHelper.nullableInput — +a helper for REQUIRED fields that adds an issue on null/undefined — so an empty +optional value failed. Replaced with zod.preprocess (blank/null/NaN → undefined, +validate int ≥ 1 only when present); default null → undefined. Together with +backend v2.8.71 (blank → NULL for product_link/delivery_email/enums), optional +template fields can now be left empty end-to-end. +**Verification:** tsc + eslint clean. + +--- +