Closed fmontes closed 5 years ago
As a developer, I want a custom element so I can render a DotCMS Tags Field.
This field is more complex that what we're been doing, so we might need custom elements for certains parts of this.
<dot-tags></dot-tags>
default: 0
default: 300ms
required-message
<label for="{name}">{label}</label> <input type="text" id={name} /> <auto-complete-component></auto-complete-component> <span>{hint}</span> <span>{error}</span>
Waiting for: https://github.com/dotCMS/core/issues/16461
https://tarekraafat.github.io/autoComplete.js/
We need to hook this up with the dotcms tag endpoint: http://localhost:8080/api/v1/tags?name=tra
http://localhost:8080/api/v1/tags?name=tra
As a developer, I want a custom element so I can render a DotCMS Tags Field.
To consider
This field is more complex that what we're been doing, so we might need custom elements for certains parts of this.
Selector
Common Attributes
Extra Attributes
default: 0
default: 300ms
Validation
required-message
Status clases
Possible Markup
Events
Mock
How should works
API to get suggestions
Waiting for: https://github.com/dotCMS/core/issues/16461
Autocomplete JS library
https://tarekraafat.github.io/autoComplete.js/
Acceptance Criteria