fix: clarify memory selection semantics
This commit is contained in:
@@ -39,7 +39,7 @@ export function MultiselectWidget({ descriptor, onRespond }: WidgetProps) {
|
||||
{allChecked ? "Deselect all" : "Select all"}
|
||||
</button>
|
||||
<span className="text-xs tabular-nums text-muted-foreground">
|
||||
{checked.size} / {options.length} selected
|
||||
{checked.size} / {options.length} {descriptor.selection_label ?? "selected"}
|
||||
</span>
|
||||
</div>
|
||||
<div className="flex flex-col gap-1 pt-2">
|
||||
@@ -67,7 +67,7 @@ export function MultiselectWidget({ descriptor, onRespond }: WidgetProps) {
|
||||
disabled={isDisabled}
|
||||
onClick={() => onRespond({ id: descriptor.id, kind: "multiselect", choices: Array.from(checked) })}
|
||||
>
|
||||
Confirm
|
||||
{descriptor.confirm_label ?? "Confirm"}
|
||||
</button>
|
||||
</div>
|
||||
<ReservedControls
|
||||
|
||||
Reference in New Issue
Block a user