From a8ea434ce15293a54be07b45f4936c3ed5e5b1da Mon Sep 17 00:00:00 2001 From: david Date: Sun, 3 May 2026 11:29:56 +0200 Subject: [PATCH] . --- .../update/ui/editors/proforma-update-tax-editor.tsx | 2 -- .../proformas/update/ui/pages/proforma-update-page.tsx | 8 +++++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/modules/customer-invoices/src/web/proformas/update/ui/editors/proforma-update-tax-editor.tsx b/modules/customer-invoices/src/web/proformas/update/ui/editors/proforma-update-tax-editor.tsx index e0295b51..1d64b7c5 100644 --- a/modules/customer-invoices/src/web/proformas/update/ui/editors/proforma-update-tax-editor.tsx +++ b/modules/customer-invoices/src/web/proformas/update/ui/editors/proforma-update-tax-editor.tsx @@ -36,8 +36,6 @@ export const ProformaUpdateTaxEditor = ({ }: ProformaUpdateTaxEditorProps) => { const { t } = useTranslation(); - console.log(taxCtrl); - return ( { const { updateCtrl, selectCustomerCtrl } = useUpdateProformaPageController(); + useEffect(() => { + console.log("[ProformaUpdatePage] isDirty:", updateCtrl.form.formState.isDirty); + console.log("[ProformaUpdatePage] dirtyFields:", updateCtrl.form.formState.dirtyFields); + console.log("[ProformaUpdatePage] values:", updateCtrl.form.getValues()); + }, [updateCtrl.form.formState.isDirty, updateCtrl.form.formState.dirtyFields, updateCtrl.form]); + if (updateCtrl.isLoading) { return ; }