feat : buzz feedback
CI / Verify (push) Successful in 55s
CI / Build immutable images and deploy (push) Failing after 1m19s

This commit is contained in:
2026-08-30 06:49:32 +00:00 Unverified
parent d0e2a95350
commit f6d7e49f49
5 changed files with 23 additions and 12 deletions
+2 -2
View File
@@ -75,8 +75,8 @@ const DEFAULT_TARGET_STATS = ["ATK", "EM", "ER", "CRIT Rate", "CRIT DMG"] as con
function CatalogPicker({ items, value, onChange, placeholder, rarityBackground = false }: { items: CatalogItem[]; value: string; onChange: (value: string) => void; placeholder: string; rarityBackground?: boolean }) {
const selected = items.find((item) => item.key === value) ?? null;
return (
<Combobox items={items} value={selected} onValueChange={(next) => onChange(next?.key ?? "")} itemToStringLabel={(item) => item.name} itemToStringValue={(item) => item.key}>
<ComboboxInput placeholder={placeholder} showClear />
<Combobox items={items} value={selected} onValueChange={(next) => onChange(next?.key ?? "")} itemToStringLabel={(item) => item.name} itemToStringValue={(item) => item.key} autoHighlight>
<ComboboxInput className="w-full" placeholder={placeholder} showClear />
<ComboboxContent>
<ComboboxEmpty>ไม่พบรายการ</ComboboxEmpty>
<ComboboxList>