Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

chore(agent-vault): drop the comment on the picker search prop

Scott Wilson20334852a975
diff --git a/frontend/src/pages/agent-vault/AgentVaultAccessControlPage/components/AddGroupDialog.tsx b/frontend/src/pages/agent-vault/AgentVaultAccessControlPage/components/AddGroupDialog.tsx
index fc9420ae49..08824ae39a 100644
--- a/frontend/src/pages/agent-vault/AgentVaultAccessControlPage/components/AddGroupDialog.tsx
+++ b/frontend/src/pages/agent-vault/AgentVaultAccessControlPage/components/AddGroupDialog.tsx
@@ -142,9 +142,6 @@ export const AddGroupDialog = ({ isOpen, onOpenChange }: Props) => {
options={options}
value={group}
isLoading={isFetching}
- // onSearchChange, not onInputValueChange: passing it is what marks the search
- // caller-owned, which turns off the local matcher and stops Enter committing a
- // highlight from the page the previous query returned while this one is in flight.
onSearchChange={setSearch}
getOptionValue={(option) => option.value}
getOptionLabel={(option) => option.label}
diff --git a/frontend/src/pages/agent-vault/AgentVaultAccessControlPage/components/InviteMembersDialog.tsx b/frontend/src/pages/agent-vault/AgentVaultAccessControlPage/components/InviteMembersDialog.tsx
index dab1ee5b1a..7a10b66e4f 100644
--- a/frontend/src/pages/agent-vault/AgentVaultAccessControlPage/components/InviteMembersDialog.tsx
+++ b/frontend/src/pages/agent-vault/AgentVaultAccessControlPage/components/InviteMembersDialog.tsx
@@ -170,9 +170,6 @@ export const InviteMembersDialog = ({ isOpen, onOpenChange }: Props) => {
options={candidates}
value={selected}
isLoading={isCandidatesFetching}
- // onSearchChange, not onInputValueChange: passing it is what marks the search
- // caller-owned, which turns off the local matcher and stops Enter committing a
- // highlight from the page the previous query returned while this one is in flight.
onSearchChange={setSearch}
getOptionValue={(option) => option.value}
getOptionLabel={(option) => option.label}