We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3f9a97 commit f2f20fcCopy full SHA for f2f20fc
src/apps/copilots/src/pages/copilot-request-form/index.tsx
@@ -277,7 +277,7 @@ const CopilotRequestForm: FC<{}> = () => {
277
message: 'Field cannot be left empty',
278
},
279
{
280
- condition: formValues.otherPaymentType.trim().length > 8,
+ condition: formValues.otherPaymentType && formValues.otherPaymentType.trim().length > 8,
281
key: 'otherPaymentType',
282
message: 'Field only allows 8 characters',
283
0 commit comments