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.
2 parents 6f191d8 + f2f20fc commit 86eb547Copy full SHA for 86eb547
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