Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 377 Bytes

File metadata and controls

13 lines (11 loc) · 377 Bytes

tag-input

🏷 Custom web component to have a <tag-input> element to manage tags.

Usage

  1. Set the .js file in the html
<script src="input-tag.js"></script>
  1. Set the <input-tag> in your forms. You can use the value property to load some values at the begining.
<input-tag value="apple, banana, oranges" id="tag01" name="tags" ></input-tag>