The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Fix option text deletion in select fields by removing error for empty values (#11081)
nitin8309575a94e9
diff --git a/packages/twenty-front/src/modules/settings/components/AdvancedSettingsWrapper.tsx b/packages/twenty-front/src/modules/settings/components/AdvancedSettingsWrapper.tsxindex 9eca181228e..4aadc5f6c32 100644--- a/packages/twenty-front/src/modules/settings/components/AdvancedSettingsWrapper.tsx+++ b/packages/twenty-front/src/modules/settings/components/AdvancedSettingsWrapper.tsx@@ -48,13 +48,14 @@ export const AdvancedSettingsWrapper = ({children,hideDot = false,dotPosition = 'centered',+ animationDimension = 'height',}: AdvancedSettingsWrapperProps) => {const isAdvancedModeEnabled = useRecoilValue(isAdvancedModeEnabledState);return (<AnimatedExpandableContainerisExpanded={isAdvancedModeEnabled}- dimension="height"+ dimension={animationDimension}animationDurations={ADVANCED_SETTINGS_ANIMATION_DURATION}mode="scroll-height"containAnimation={false}diff --git a/packages/twenty-front/src/pages/settings/data-model/utils/compute-option-value-from-label.utils.ts b/packages/twenty-front/src/pages/settings/data-model/utils/compute-option-value-from-label.utils.tsindex 9298870ad3a..7e840e36c10 100644--- a/packages/twenty-front/src/pages/settings/data-model/utils/compute-option-value-from-label.utils.ts+++ b/packages/twenty-front/src/pages/settings/data-model/utils/compute-option-value-from-label.utils.ts@@ -9,9 +9,5 @@ export const computeOptionValueFromLabel = (label: string): string => {allowedChars: 'a-zA-Z0-9_',});- if (formattedString === '') {- throw new Error('Invalid label');- }-return formattedString.toUpperCase();};