Jaishree2310/GlassyUI-Components

BUG: "Stay Updated" email field accepts invalid input, no email validation

Open

#631 opened on May 27, 2026

View on GitHub
 (2 comments) (0 reactions) (1 assignee)TypeScript (217 forks)auto 404
good first issuegssoc'26gssoc:approvedlevel:beginnertype:bug

Repository metrics

Stars
 (114 stars)
PR merge metrics
 (PR metrics pending)

Description

Description

The "Stay Updated" subscription section on the homepage contains an email input field that has no validation. It accepts plain text, numbers, special characters, or any arbitrary string, allowing users to "subscribe" with completely invalid input.

Steps to Reproduce

  1. Go to https://glassyui.vercel.app/
  2. Scroll down to the "Stay Updated" section
  3. In the email input field, type any invalid value such as:
    • Plain text (e.g. helloworld)
    • Only numbers (e.g. 1234567890)
    • Random special characters (e.g. !@#$%^)
  4. Click the Subscribe button
  5. Observe that the form submits without any error or validation message

Expected Behavior

The email field should validate the input and:

  • Only accept properly formatted email addresses (e.g. user@example.com)
  • Show an error message for invalid inputs like plain text, numbers, or missing @ domain
  • Prevent form submission until a valid email is entered

Actual Behavior

The form accepts and submits any input without any validation check or error feedback to the user.

Screenshots / Recording

https://github.com/user-attachments/assets/f564f069-3b53-41bb-a62b-a88b0284a1ba

Contributor guide