developit/tags-input

pattern= doesn't seem to work as expected

开放

#20 创建于 2017年1月18日

 (2 条评论) (0 个反应) (0 位负责人)JavaScript (46 个派生)github user discovery
enhancementhelp wanted

仓库指标

星标
 (333 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

See jsfiddle at http://jsfiddle.net/d5w4jpxq/71/ :

<input name="hashtags" type="tags" pattern="^#" placeholder="#hashtags">

Still allows data that doesn't start with a hash to be entered. The docs mention HTML5 pattern support - should we use pattern to limit the input or should we do this via change events?

贡献者指南