developit/tags-input

pattern= doesn't seem to work as expected

Aberta

#20 aberto em 18 de jan. de 2017

 (2 comentários) (0 reação) (0 responsável)JavaScript (46 forks)github user discovery
enhancementhelp wanted

Métricas do repositório

Stars
 (333 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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?

Guia do colaborador