refactor: update value formatting in combobox components to include names for better context and usability
This commit is contained in:
@@ -171,7 +171,7 @@ export function AccountFilterCombobox({
|
||||
<div key={folder.id}>
|
||||
{/* Folder row */}
|
||||
<CommandItem
|
||||
value={`folder-${folder.id}`}
|
||||
value={`folder-${folder.id} ${folder.name}`}
|
||||
onSelect={() => handleSelectFolder(folder.id)}
|
||||
style={{ paddingLeft: `${paddingLeft}px` }}
|
||||
className="font-medium"
|
||||
@@ -195,7 +195,7 @@ export function AccountFilterCombobox({
|
||||
return (
|
||||
<CommandItem
|
||||
key={account.id}
|
||||
value={account.id}
|
||||
value={`${account.id} ${account.name}`}
|
||||
onSelect={() => handleSelect(account.id)}
|
||||
style={{ paddingLeft: `${paddingLeft + 16}px` }}
|
||||
className="min-w-0"
|
||||
@@ -324,7 +324,7 @@ export function AccountFilterCombobox({
|
||||
return (
|
||||
<CommandItem
|
||||
key={account.id}
|
||||
value={account.id}
|
||||
value={`${account.id} ${account.name}`}
|
||||
onSelect={() => handleSelect(account.id)}
|
||||
className="min-w-0"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user