Skip to content

Update validation messages with correct max length#1

Open
KartikSoneji wants to merge 1 commit intoeventalapp:masterfrom
KartikSoneji:fix-validation-messages
Open

Update validation messages with correct max length#1
KartikSoneji wants to merge 1 commit intoeventalapp:masterfrom
KartikSoneji:fix-validation-messages

Conversation

@KartikSoneji
Copy link

The validation messages for the location and position fields are inconsistent.
This PR fixes that.

location: z.string().max(100, 'Location must be less than 70 characters'),

position: z.preprocess(
trimString,
z.string().max(100, 'Position must be less than 70 characters')
),

@vercel
Copy link

vercel bot commented Sep 25, 2022

@KartikSoneji is attempting to deploy a commit to the Evental Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant