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?

貢獻者指南