Skip to content

Commit

Permalink
Fix CRM - Accounts - Update form
Browse files Browse the repository at this point in the history
- fix form validation
  • Loading branch information
pdovhomilja committed Nov 10, 2023
1 parent 4b5ad86 commit 2b5034f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ export function UpdateAccountForm({
website: z.string().nullable().optional(),
fax: z.string().nullable().optional(),
company_id: z.string().min(5).max(10),
vat: z.string().min(5).max(10).nullable().optional(),
vat: z.string().min(5).max(20).nullable().optional(),
email: z.string().email(),
billing_street: z.string().min(3).max(50),
billing_postal_code: z.string().min(5).max(6),
billing_postal_code: z.string().min(2).max(10),
billing_city: z.string().min(3).max(50),
billing_state: z.string().min(3).max(50).nullable().optional(),
billing_country: z.string().min(3).max(50),
Expand Down

6 comments on commit 2b5034f

@vercel
Copy link

@vercel vercel bot commented on 2b5034f Nov 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nextcrm-others – ./

nextcrm-others-git-main-e-osvc.vercel.app
nextcrm-others-e-osvc.vercel.app
others.nextcrm.io

@vercel
Copy link

@vercel vercel bot commented on 2b5034f Nov 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 2b5034f Nov 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 2b5034f Nov 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 2b5034f Nov 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nextcrm-test – ./

nextcrm-test-e-osvc.vercel.app
nextcrm-test-git-main-e-osvc.vercel.app
test.nextcrm.io

@vercel
Copy link

@vercel vercel bot commented on 2b5034f Nov 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nextcrm-demo – ./

nextcrm-demo-e-osvc.vercel.app
nextcrm-demo-git-main-e-osvc.vercel.app
demo.nextcrm.io

Please sign in to comment.