Jaishree2310/GlassyUI-Components

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

开放

#631 创建于 2026年5月27日

 (2 条评论) (0 个反应) (1 位负责人)TypeScript (217 个派生)auto 404
good first issuegssoc'26gssoc:approvedlevel:beginnertype:bug

仓库指标

星标
 (114 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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

贡献者指南