developit/tags-input

pattern= doesn't seem to work as expected

オープン

#20 opened on 2017/01/18

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (46 件のフォーク)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (333 個のスター)
PR merge metrics
 (30d に merged 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?

コントリビューターガイド