From 11f2b802171e29fac88570650633c0898a4846ef Mon Sep 17 00:00:00 2001 From: Chandler Copeland Date: Sat, 21 Mar 2026 12:20:08 -0600 Subject: [PATCH] fix(09-01): fix propertyAddress pre-seed and polish PreparePanel text fill UI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - TextFillForm: add initialData prop; buildInitialRows seeds rows from pre-seeded data so propertyAddress row renders populated on mount - PreparePanel: pass initialData={...} to TextFillForm so the lazy useState in PreparePanel correctly flows through to the visible UI - TextFillForm: replace AcroForm jargon instruction with friendly copy - TextFillForm: add Field name / Value column headers for clear layout - TextFillForm: improve spacing (py-1.5), softer remove button (gray→red on hover) - TypeScript: npx tsc --noEmit passes clean --- .../[docId]/_components/PreparePanel.tsx | 5 ++- .../[docId]/_components/TextFillForm.tsx | 34 +++++++++++++------ 2 files changed, 28 insertions(+), 11 deletions(-) diff --git a/teressa-copeland-homes/src/app/portal/(protected)/documents/[docId]/_components/PreparePanel.tsx b/teressa-copeland-homes/src/app/portal/(protected)/documents/[docId]/_components/PreparePanel.tsx index fb25259..1592cee 100644 --- a/teressa-copeland-homes/src/app/portal/(protected)/documents/[docId]/_components/PreparePanel.tsx +++ b/teressa-copeland-homes/src/app/portal/(protected)/documents/[docId]/_components/PreparePanel.tsx @@ -151,7 +151,10 @@ export function PreparePanel({ docId, defaultEmail, clientName, currentStatus, a
- +
@@ -57,7 +71,7 @@ export function TextFillForm({ onChange }: TextFillFormProps) { {rows.length < 10 && (