From 6de8764013cc1650e165b1e238f852428adaaa82 Mon Sep 17 00:00:00 2001 From: sua yoo Date: Wed, 19 Nov 2025 18:17:14 -0800 Subject: [PATCH 1/8] set max width --- frontend/src/components/ui/tag-input.ts | 3 +++ frontend/src/components/ui/tag.ts | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/ui/tag-input.ts b/frontend/src/components/ui/tag-input.ts index 9540b1993e..0260270a04 100644 --- a/frontend/src/components/ui/tag-input.ts +++ b/frontend/src/components/ui/tag-input.ts @@ -16,6 +16,8 @@ import { import { customElement, property, query, state } from "lit/decorators.js"; import debounce from "lodash/fp/debounce"; +import { TAG_MAX_CHARACTERS } from "./tag"; + import type { UnderlyingFunction } from "@/types/utils"; import { type WorkflowTag } from "@/types/workflow"; import { dropdown } from "@/utils/css"; @@ -234,6 +236,7 @@ export class TagInput extends LitElement { role="combobox" aria-controls="dropdown" aria-expanded="${this.dropdownIsOpen === true}" + maxlength=${TAG_MAX_CHARACTERS} />