LearnNewsExamplesServices
Frontmatter
id2113
titleexamples/form/field/email/ permits invalid syntax (name@something)
stateClosed
labels
bugstale
assignees[]
createdAtMay 22, 2021, 9:55 PM
updatedAtSep 16, 2024, 4:37 AM
githubUrlhttps://github.com/neomjs/neo/issues/2113
authorkeckeroo
commentsCount3
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtSep 16, 2024, 4:37 AM

examples/form/field/email/ permits invalid syntax (name@something)

Closed v8.1.0 bugstale
keckeroo
keckeroo commented on May 22, 2021, 9:55 PM

Describe the bug The email validator is permitting invalid email syntax of 'name@domain' (without the TLD)

Screen Shot 2021-05-22 at 2 53 33 PM

keckeroo added the bug label on May 22, 2021, 9:55 PM
tobiu
tobiu Jun 3, 2021, 8:52 PM

https://en.wikipedia.org/wiki/Email_address#Examples

Screenshot 2021-06-03 at 20 50 53

by default, <input type="email"> will allow local domains. most of the time it makes little sense (except for intranet apps).

we can add a custom validator on the JS side.

@github-actions - 2024-09-02T02:30:24Z

This issue is stale because it has been open for 90 days with no activity.

  • 2024-09-02T02:30:24Z @github-actions added the stale label

@github-actions - 2024-09-16T02:37:09Z

This issue was closed because it has been inactive for 14 days since being marked as stale.

  • 2024-09-16T02:37:10Z @github-actions closed this issue