ameerthehacker / ameerthehacker/jquery-simple-validator

input type=url empty field fails validation

Đang mở
#3 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
question
Ngôn ngữ chính
JavaScript
Star
9
Fork
10
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

I added a few input type=url fields to a form. There is no data in the field. The field is not marked as required. If the form is submitted, it fails saying "The url is invalid."

**Example**:
``

**Proposed fix**:
If the field is not required, then value='' could be accepted as a valid URL.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

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.