Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
fix(frontend): keep multi Combobox selection when Escape is pressed while closed (#8841)
Andrew Huang3062853a8c28
diff --git a/frontend/src/components/v3/generic/Combobox/Combobox.tsx b/frontend/src/components/v3/generic/Combobox/Combobox.tsxindex 0efa283ac0..bbc395d4b6 100644--- a/frontend/src/components/v3/generic/Combobox/Combobox.tsx+++ b/frontend/src/components/v3/generic/Combobox/Combobox.tsx@@ -1502,6 +1502,10 @@ const MultipleCombobox = <TOption,>({items={primitiveItems}value={selectedItems}onValueChange={(nextValue, eventDetails) => {+ if (eventDetails.reason === "escape-key") {+ eventDetails.cancel();+ return;+ }const createItem = nextValue.find((item) => item.type === "create");if (createItem) {eventDetails.cancel();