🏷 Custom web component to have a <tag-input>
element to manage tags.
- Set the .js file in the html
<script src="input-tag.js"></script>
- 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>