Skip to content

/contact form shows an untranslated raw Zod message for the Reason field #1476

Description

@joshunrau

Summary

Submitting /contact with empty fields shows a properly localized "This field is required" under Message, but the Reason select shows the raw Zod message instead:

Invalid option: expected one of "bug"|"feedback"|"other"|"request"

Detail

Inconsistent i18n polish rather than broken functionality: the enum's failure path is not covered by the error map registered in apps/web/src/services/zod.ts, so it falls through to Zod's default English message.

Repro

/contact → Submit with everything empty.

Notes

Found while writing the Playwright suite (branch e2e-tests).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions