Skip to content

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

imrpoe dropdown custom value label

Andrey11a93f08c053
diff --git a/frontend/src/pages/pam/components/auto-approval/AutoApprovalValuePicker.tsx b/frontend/src/pages/pam/components/auto-approval/AutoApprovalValuePicker.tsx
index 322ec813be..a635270f4f 100644
--- a/frontend/src/pages/pam/components/auto-approval/AutoApprovalValuePicker.tsx
+++ b/frontend/src/pages/pam/components/auto-approval/AutoApprovalValuePicker.tsx
@@ -78,7 +78,8 @@ export const AutoApprovalValuePicker = ({
constraint.value === AutoApprovalConstraintValue.Many ? [...values, value] : [value]
);
},
- formatLabel: (input: string) => `Use "${input.trim()}"`
+ formatLabel: (input: string) => `Use "${input.trim()}"`,
+ emptyLabel: "Type custom value"
};
const emptyMessage = isOptionsError