openstreetmap/iD

Show validation suggestion for non-matching field pattern

开放

#10,769 创建于 2025年2月13日

 (19 条评论) (0 个反应) (0 位负责人)JavaScript (1,449 个派生)github user discovery
help wantedvalidation

仓库指标

星标
 (3,818 个星标)
PR 合并指标
 (平均合并 29天 14小时) (30 天内合并 82 个 PR)

描述

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.

贡献者指南