openstreetmap/iD

Show validation suggestion for non-matching field pattern

Aperta

#10.769 aperta il 13 feb 2025

 (19 commenti) (0 reazioni) (0 assegnatari)JavaScript (1449 fork)github user discovery
help wantedvalidation

Metriche repository

Star
 (3818 stelle)
Metriche merge PR
 (Merge medio 29g 14h) (82 PR mergiate in 30 g)

Descrizione

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.

Guida contributor