ameerthehacker / ameerthehacker/jquery-simple-validator
input type=url empty field fails validation
Offen
question
- Vorherrschende Sprache
- JavaScript
- Sterne
- 9
- Forks
- 10
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.