openstreetmap/iD

Show validation suggestion for non-matching field pattern

Offen

#10.769 geöffnet am 13.02.2025

 (19 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (1.449 Forks)github user discovery
help wantedvalidation

Repository-Metriken

Stars
 (3.818 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 29T 14h) (82 gemergte PRs in 30 T)

Beschreibung

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