We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8283485 commit d55e936Copy full SHA for d55e936
packages/frontend/components/tag-input/index.js
@@ -26,7 +26,10 @@ export const TagInputFieldComponent = class extends HTMLElement {
26
tags,
27
});
28
29
- this.insertBefore(this.$hint, this.querySelector(".tag-input"));
+ if (this.$hint) {
30
+ this.insertBefore(this.$hint, this.querySelector(".tag-input"));
31
+ }
32
+
33
this.querySelector(".tag-input-label").classList.add("label");
34
35
this.$replacedLabel.remove();
0 commit comments