openstreetmap/iD

Show validation suggestion for non-matching field pattern

Open

#10,769 opened on Feb 13, 2025

 (19 comments) (0 reactions) (0 assignees)JavaScript (1,449 forks)github user discovery
help wantedvalidation

Repository metrics

Stars
 (3,818 stars)
PR merge metrics
 (Avg merge 29d 14h) (82 merged PRs in 30d)

Description

If a tag value for a field with a specified pattern does not conform to the respective regex, there should be some indication that something is off: For example in the form of a validation suggestion (#10743) and/or indication on the ui field itself.

See #10749 for an example for such a field.

Contributor guide