Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Invalid input for question "Email".

Đang mở Phù hợp với người mới
#3,802 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@orshih6 đang làm issue này rồi.

Từ ngày 25/10/2026.

  • #3803 của @orshih6 — đang mở

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
70/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript
Lĩnh vực
frontend

Hướng nghiên cứu

Bắt đầu bằng cách xác định phần xác thực khi gửi biểu mẫu cho các câu hỏi văn bản ngắn tùy chọn có định dạng email hoặc số điện thoại; issue không nêu tên tệp hay bài kiểm thử. Thực hiện lại các bước trong báo cáo: nhập văn bản, xóa nội dung trường rồi gửi biểu mẫu. Hoàn tất khi trường tùy chọn để trống được gửi đi ở trạng thái chưa chạm tới và không có lỗi dữ liệu nhập không hợp lệ.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

0. Needs triage bug

Please use the 👍 reaction to show that you are affected by the same issue. Please don't comment if you have no relevant information to add!

Describe the bug
This bug appears on forms containing a non-mandatory question requiring a specific format such as email or telephone (and probably others but I've only tested these two). If the user enters any text in the response field to the question requiring the specific format, then subsequently removes this text, leaving the field blank, an error occurs when the form is submitted and it is impossible to submit the form without completing this field with a valid value.

To Reproduce

  1. Create a form with one optional short-text question, requiring an email address
  2. Attempt to fill in this form : enter some text in the email field, then delete it, leaving the field empty
  3. Press "Send"
  4. Observe the error which complains of "Invalid input for question 'questionname'"

Expected behavior
The form should be submitted as if the question had been untouched

Nextcloud (please complete the following information):

  • Nextcloud-Version: 35.0.2
  • Forms-Version: 5.4.1

Additional Infomation
The error message appears in English, despite my nextcloud (and all other text on the page) being in French - I am aware this observation is not directly related to this bug but it would be great to get this fixed too :-)

Ngôn ngữ chính
JavaScript
Star
383
Fork
130
Merge trung bình
13 giờ 32 phút
Pull request đã merge (30 ngày)
93

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của nextcloud/forms

Tất cả issue của nextcloud/forms

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.