Skip to content

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

revert: change in core component

ShubhamPalriwalae5b7ebbabfdd
diff --git a/frontend/src/components/v2/SecretInput/SecretInput.tsx b/frontend/src/components/v2/SecretInput/SecretInput.tsx
index aca4d45d35..5e7bbef786 100644
--- a/frontend/src/components/v2/SecretInput/SecretInput.tsx
+++ b/frontend/src/components/v2/SecretInput/SecretInput.tsx
@@ -96,12 +96,8 @@ export const SecretInput = forwardRef<HTMLTextAreaElement, Props>(
}}
disabled={isDisabled}
spellCheck={false}
- onKeyDown={(evt) => {
- if (evt.key === "Tab") {
- setIsSecretFocused.off();
- }
- }}
- onBlur={() => {
+ onBlur={(evt) => {
+ onBlur?.(evt);
setIsSecretFocused.off();
}}
value={value || ""}