developit/tags-input

pattern= doesn't seem to work as expected

Aperta

#20 aperta il 18 gen 2017

 (2 commenti) (0 reazioni) (0 assegnatari)JavaScript (46 fork)github user discovery
enhancementhelp wanted

Metriche repository

Star
 (333 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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?

Guida contributor