The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Fix bug bypassing verification in confirmation modal when pressing Enter (#6889)
Lý Thanh Bách7a282b436318
diff --git a/packages/twenty-front/src/modules/ui/layout/modal/components/ConfirmationModal.tsx b/packages/twenty-front/src/modules/ui/layout/modal/components/ConfirmationModal.tsxindex e2af7df6031..cd35ec34721 100644--- a/packages/twenty-front/src/modules/ui/layout/modal/components/ConfirmationModal.tsx+++ b/packages/twenty-front/src/modules/ui/layout/modal/components/ConfirmationModal.tsx@@ -93,7 +93,7 @@ export const ConfirmationModal = ({setIsOpen(false);}}}- onEnter={onConfirmClick}+ onEnter={!isValidValue ? undefined : onConfirmClick}isClosable={true}padding="large">