You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/app/src/app/(app)/[orgId]/documents/components/CompanySubmissionWizard.tsx
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,7 @@ import { api } from '@/lib/api-client';
16
16
import{meetingFields}from'@trycompai/company';
17
17
import{zodResolver}from'@hookform/resolvers/zod';
18
18
import{
19
+
Alert,
19
20
Button,
20
21
Field,
21
22
FieldError,
@@ -548,6 +549,13 @@ export function CompanySubmissionWizard({
548
549
{textareaFields.length===0&&(
549
550
<Textvariant="muted">No additional fields required for this step.</Text>
550
551
)}
552
+
{textareaFields.some((f)=>f.placeholder)&&(
553
+
<Alert
554
+
variant="warning"
555
+
title="Reference only"
556
+
description="The pre-filled content below is provided as a template. You must review and edit it to reflect your organization's actual information before submitting."
557
+
/>
558
+
)}
551
559
{textareaFields.map((field)=>(
552
560
<Controller
553
561
key={field.key}
@@ -618,6 +626,13 @@ export function CompanySubmissionWizard({
description="The pre-filled content below is provided as a template. You must review and edit it to reflect your organization's actual information before submitting."
0 commit comments